public class MultiLineStringBuilder 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 |
autoIndexJtsGeometry, autoValidateJtsGeometry, DATELINE, FACTORY, FIELD_COORDINATES, FIELD_GEOMETRIES, FIELD_ORIENTATION, FIELD_TYPE, INTERSECTION_ORDER, LOGGER, multiPolygonMayOverlap, SPATIAL_CONTEXT, wrapdateline, ZERO_ZERO
EMPTY_PARAMS
Constructor and Description |
---|
MultiLineStringBuilder() |
MultiLineStringBuilder(StreamInput in)
Read from a stream.
|
Modifier and Type | Method and Description |
---|---|
org.locationtech.spatial4j.shape.Shape |
build()
Create a new Shape from this builder.
|
com.vividsolutions.jts.geom.Coordinate[][] |
coordinates() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
MultiLineStringBuilder |
linestring(LineStringBuilder line) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
ShapeBuilder.GeoShapeType |
type()
get the shapes type
|
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
debugEnabled, getWriteableName, intersection, intersections, jtsGeometry, parse, parse, readFromStream, shift, toXContent, writeCoordinateTo
buildAsBytes, buildAsBytes, toString
public static final ShapeBuilder.GeoShapeType TYPE
public MultiLineStringBuilder()
public MultiLineStringBuilder(StreamInput in) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
java.io.IOException
public MultiLineStringBuilder linestring(LineStringBuilder line)
public com.vividsolutions.jts.geom.Coordinate[][] coordinates()
public ShapeBuilder.GeoShapeType type()
ShapeBuilder
type
in class ShapeBuilder
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
java.io.IOException
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