public abstract class BaseLineStringBuilder<E extends BaseLineStringBuilder<E>> extends PointCollection<E>
ShapeBuilder.CoordinateNode, ShapeBuilder.Edge, ShapeBuilder.GeoShapeType, ShapeBuilder.OrientationToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Paramspoints, translatedautoIndexJtsGeometry, autoValidateJtsGeometry, DATELINE, FACTORY, FIELD_COORDINATES, FIELD_GEOMETRIES, FIELD_ORIENTATION, FIELD_TYPE, INTERSECTION_ORDER, LOGGER, multiPolygonMayOverlap, orientation, SPATIAL_CONTEXT, wrapdatelineEMPTY_PARAMS| Modifier | Constructor and Description |
|---|---|
protected |
BaseLineStringBuilder() |
protected |
BaseLineStringBuilder(ArrayList<com.vividsolutions.jts.geom.Coordinate> points) |
| Modifier and Type | Method and Description |
|---|---|
com.spatial4j.core.shape.Shape |
build()
Create a new Shape from this builder.
|
protected static com.vividsolutions.jts.geom.Coordinate[][] |
decompose(double dateline,
com.vividsolutions.jts.geom.Coordinate[] coordinates)
Decompose a linestring given as array of coordinates at a vertical line.
|
protected static ArrayList<com.vividsolutions.jts.geom.LineString> |
decompose(com.vividsolutions.jts.geom.GeometryFactory factory,
com.vividsolutions.jts.geom.Coordinate[] coordinates,
ArrayList<com.vividsolutions.jts.geom.LineString> strings) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
coordinates, coordinatesToXcontent, point, point, points, pointscoordinate, debugEnabled, intersection, intersections, jtsGeometry, newCircleBuilder, newEnvelope, newEnvelope, newGeometryCollection, newGeometryCollection, newLineString, newMultiLinestring, newMultiPoint, newMultiPolygon, newMultiPolygon, newPoint, newPoint, newPolygon, newPolygon, orientationFromString, parse, parse, shift, toString, toXContent, typeprotected BaseLineStringBuilder()
protected BaseLineStringBuilder(ArrayList<com.vividsolutions.jts.geom.Coordinate> points)
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOExceptionpublic com.spatial4j.core.shape.Shape build()
ShapeBuilderbuild in class ShapeBuilderShape defined by the builderprotected static ArrayList<com.vividsolutions.jts.geom.LineString> decompose(com.vividsolutions.jts.geom.GeometryFactory factory, com.vividsolutions.jts.geom.Coordinate[] coordinates, ArrayList<com.vividsolutions.jts.geom.LineString> strings)
protected static com.vividsolutions.jts.geom.Coordinate[][] decompose(double dateline,
com.vividsolutions.jts.geom.Coordinate[] coordinates)
dateline - x-axis intercept of the vertical linecoordinates - coordinates forming the linestringCopyright © 2009–2016. All rights reserved.