public class MultiLineStringBuilder extends ShapeBuilder
| Modifier and Type | Class and Description |
|---|---|
static class |
MultiLineStringBuilder.InternalLineStringBuilder |
ShapeBuilder.CoordinateNode, ShapeBuilder.Edge, ShapeBuilder.GeoShapeType, ShapeBuilder.OrientationToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
static ShapeBuilder.GeoShapeType |
TYPE |
autoIndexJtsGeometry, autoValidateJtsGeometry, DATELINE, FACTORY, FIELD_COORDINATES, FIELD_GEOMETRIES, FIELD_ORIENTATION, FIELD_TYPE, INTERSECTION_ORDER, LOGGER, multiPolygonMayOverlap, orientation, SPATIAL_CONTEXT, wrapdatelineEMPTY_PARAMS| Constructor and Description |
|---|
MultiLineStringBuilder() |
| Modifier and Type | Method and Description |
|---|---|
com.spatial4j.core.shape.Shape |
build()
Create a new Shape from this builder.
|
com.vividsolutions.jts.geom.Coordinate[][] |
coordinates() |
MultiLineStringBuilder.InternalLineStringBuilder |
linestring() |
MultiLineStringBuilder |
linestring(BaseLineStringBuilder<?> line) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
ShapeBuilder.GeoShapeType |
type()
get the shapes type
|
coordinate, debugEnabled, intersection, intersections, jtsGeometry, newCircleBuilder, newEnvelope, newEnvelope, newGeometryCollection, newGeometryCollection, newLineString, newMultiLinestring, newMultiPoint, newMultiPolygon, newMultiPolygon, newPoint, newPoint, newPolygon, newPolygon, orientationFromString, parse, parse, shift, toString, toXContentpublic static final ShapeBuilder.GeoShapeType TYPE
public MultiLineStringBuilder.InternalLineStringBuilder linestring()
public MultiLineStringBuilder linestring(BaseLineStringBuilder<?> line)
public com.vividsolutions.jts.geom.Coordinate[][] coordinates()
public ShapeBuilder.GeoShapeType type()
ShapeBuildertype in class ShapeBuilderpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOExceptionpublic com.spatial4j.core.shape.Shape build()
ShapeBuilderbuild in class ShapeBuilderShape defined by the builderCopyright © 2009–2017. All rights reserved.