Class ShapeBuilders
- java.lang.Object
-
- org.elasticsearch.common.geo.builders.ShapeBuilders
-
@Deprecated public class ShapeBuilders extends java.lang.Object
Deprecated.this class is replaced by each builder's constructor e.g. instead of usingShapeBuilders.newMultiPoint
usenew MultiPointBuilder()
A collection of static methods for creating ShapeBuilders.
-
-
Constructor Summary
Constructors Constructor Description ShapeBuilders()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CircleBuilder
newCircleBuilder()
Deprecated.create a new Circlestatic EnvelopeBuilder
newEnvelope(org.locationtech.jts.geom.Coordinate topLeft, org.locationtech.jts.geom.Coordinate bottomRight)
Deprecated.create a new rectanglestatic GeometryCollectionBuilder
newGeometryCollection()
Deprecated.Create a new GeometryCollectionstatic LineStringBuilder
newLineString(java.util.List<org.locationtech.jts.geom.Coordinate> list)
Deprecated.Create a new lineStringstatic LineStringBuilder
newLineString(CoordinatesBuilder coordinates)
Deprecated.Create a new lineStringstatic MultiLineStringBuilder
newMultiLinestring()
Deprecated.Create a new Collection of lineStringsstatic MultiPointBuilder
newMultiPoint(java.util.List<org.locationtech.jts.geom.Coordinate> points)
Deprecated.Create a new set of pointsstatic MultiPolygonBuilder
newMultiPolygon()
Deprecated.Create a new Collection of polygonsstatic MultiPolygonBuilder
newMultiPolygon(ShapeBuilder.Orientation orientation)
Deprecated.Create a new Collection of polygonsstatic PointBuilder
newPoint(double longitude, double latitude)
Deprecated.Create a new pointstatic PointBuilder
newPoint(org.locationtech.jts.geom.Coordinate coordinate)
Deprecated.Create a newPointBuilder
from aCoordinate
static PolygonBuilder
newPolygon(java.util.List<org.locationtech.jts.geom.Coordinate> shell)
Deprecated.Create a new PolygonBuilderstatic PolygonBuilder
newPolygon(CoordinatesBuilder shell)
Deprecated.Create a new PolygonBuilder
-
-
-
Method Detail
-
newPoint
public static PointBuilder newPoint(double longitude, double latitude)
Deprecated.Create a new point- Parameters:
longitude
- longitude of the pointlatitude
- latitude of the point- Returns:
- a new
PointBuilder
-
newPoint
public static PointBuilder newPoint(org.locationtech.jts.geom.Coordinate coordinate)
Deprecated.Create a newPointBuilder
from aCoordinate
- Parameters:
coordinate
- coordinate defining the position of the point- Returns:
- a new
PointBuilder
-
newMultiPoint
public static MultiPointBuilder newMultiPoint(java.util.List<org.locationtech.jts.geom.Coordinate> points)
Deprecated.Create a new set of points- Returns:
- new
MultiPointBuilder
-
newLineString
public static LineStringBuilder newLineString(java.util.List<org.locationtech.jts.geom.Coordinate> list)
Deprecated.Create a new lineString- Returns:
- a new
LineStringBuilder
-
newLineString
public static LineStringBuilder newLineString(CoordinatesBuilder coordinates)
Deprecated.Create a new lineString- Returns:
- a new
LineStringBuilder
-
newMultiLinestring
public static MultiLineStringBuilder newMultiLinestring()
Deprecated.Create a new Collection of lineStrings- Returns:
- a new
MultiLineStringBuilder
-
newPolygon
public static PolygonBuilder newPolygon(java.util.List<org.locationtech.jts.geom.Coordinate> shell)
Deprecated.Create a new PolygonBuilder- Returns:
- a new
PolygonBuilder
-
newPolygon
public static PolygonBuilder newPolygon(CoordinatesBuilder shell)
Deprecated.Create a new PolygonBuilder- Returns:
- a new
PolygonBuilder
-
newMultiPolygon
public static MultiPolygonBuilder newMultiPolygon()
Deprecated.Create a new Collection of polygons- Returns:
- a new
MultiPolygonBuilder
-
newMultiPolygon
public static MultiPolygonBuilder newMultiPolygon(ShapeBuilder.Orientation orientation)
Deprecated.Create a new Collection of polygons- Returns:
- a new
MultiPolygonBuilder
-
newGeometryCollection
public static GeometryCollectionBuilder newGeometryCollection()
Deprecated.Create a new GeometryCollection- Returns:
- a new
GeometryCollectionBuilder
-
newCircleBuilder
public static CircleBuilder newCircleBuilder()
Deprecated.create a new Circle- Returns:
- a new
CircleBuilder
-
newEnvelope
public static EnvelopeBuilder newEnvelope(org.locationtech.jts.geom.Coordinate topLeft, org.locationtech.jts.geom.Coordinate bottomRight)
Deprecated.create a new rectangle- Returns:
- a new
EnvelopeBuilder
-
-