Modifier and Type | Method and Description |
---|---|
Polygon |
Polygon.Builder.build() |
static Polygon |
Polygon.fromGeoJson(String source)
Creates a polygon from a GeoJSON
Polygon representation.
|
static Polygon |
Polygon.fromPoints(Point p1,
Point p2,
Point p3,
Point... pn)
Creates a polygon from a series of 3 or more points.
|
static Polygon |
Polygon.fromWellKnownBinary(ByteBuffer source)
Creates a polygon from its Well-known Binary
(WKB) representation.
|
static Polygon |
Polygon.fromWellKnownText(String source)
Creates a polygon from its Well-known
Text (WKT) representation.
|
Modifier and Type | Method and Description |
---|---|
static Polygon |
Geo.polygon(double... coordinates)
Creates a polygon from the coordinates of its points.
|
static Polygon |
Geo.polygon(Point p1,
Point p2,
Point p3,
Point... otherPoints)
Creates a polygon from the given (at least 3) points.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.tinkerpop.gremlin.process.traversal.P<Object> |
Geo.inside(Polygon polygon)
Finds whether an entity is inside the given polygon.
|
Modifier and Type | Field and Description |
---|---|
static com.datastax.oss.driver.api.core.type.codec.TypeCodec<Polygon> |
DseTypeCodecs.POLYGON |
Modifier and Type | Class and Description |
---|---|
class |
DefaultPolygon |
Modifier and Type | Method and Description |
---|---|
Polygon |
DefaultPolygon.Builder.build()
Builds the polygon.
|
Modifier and Type | Method and Description |
---|---|
protected Polygon |
PolygonCodec.fromWellKnownBinary(ByteBuffer bb) |
protected Polygon |
PolygonCodec.fromWellKnownText(String source) |
Modifier and Type | Method and Description |
---|---|
com.datastax.oss.driver.api.core.type.reflect.GenericType<Polygon> |
PolygonCodec.getJavaType() |
Modifier and Type | Method and Description |
---|---|
protected ByteBuffer |
PolygonCodec.toWellKnownBinary(Polygon geometry) |
protected String |
PolygonCodec.toWellKnownText(Polygon geometry) |
Copyright © 2017–2019. All rights reserved.