public class GeometryCollectionBuilder extends ShapeBuilder
ShapeBuilder.CoordinateNode, ShapeBuilder.Edge, ShapeBuilder.GeoShapeType, ShapeBuilder.Orientation
Writeable.Reader<V>, Writeable.Writer<V>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
static ShapeBuilder.GeoShapeType |
TYPE |
AUTO_INDEX_JTS_GEOMETRY, AUTO_VALIDATE_JTS_GEOMETRY, DATELINE, FACTORY, FIELD_COORDINATES, FIELD_GEOMETRIES, FIELD_ORIENTATION, FIELD_TYPE, INTERSECTION_ORDER, LOGGER, MULTI_POLYGON_MAY_OVERLAP, SPATIAL_CONTEXT, wrapdateline, ZERO_ZERO
EMPTY_PARAMS
Constructor and Description |
---|
GeometryCollectionBuilder()
Build and empty GeometryCollectionBuilder.
|
GeometryCollectionBuilder(StreamInput in)
Read from a stream.
|
debugEnabled, getWriteableName, intersection, intersections, jtsGeometry, parse, parse, readFromStream, shift, toXContent, writeCoordinateTo
buildAsBytes, buildAsBytes, toString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isFragment
public static final ShapeBuilder.GeoShapeType TYPE
public GeometryCollectionBuilder()
public GeometryCollectionBuilder(StreamInput in) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
java.io.IOException
public GeometryCollectionBuilder shape(ShapeBuilder shape)
public GeometryCollectionBuilder point(PointBuilder point)
public GeometryCollectionBuilder multiPoint(MultiPointBuilder multiPoint)
public GeometryCollectionBuilder line(LineStringBuilder line)
public GeometryCollectionBuilder multiLine(MultiLineStringBuilder multiLine)
public GeometryCollectionBuilder polygon(PolygonBuilder polygon)
public GeometryCollectionBuilder multiPolygon(MultiPolygonBuilder multiPolygon)
public GeometryCollectionBuilder envelope(EnvelopeBuilder envelope)
public GeometryCollectionBuilder circle(CircleBuilder circle)
public ShapeBuilder getShapeAt(int i)
public int numShapes()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
java.io.IOException
public ShapeBuilder.GeoShapeType type()
ShapeBuilder
type
in class ShapeBuilder
public org.locationtech.spatial4j.shape.Shape build()
ShapeBuilder
build
in class ShapeBuilder
Shape
defined by the builderpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object