Package | Description |
---|---|
com.datastax.dse.driver.api.core.data.geometry | |
com.datastax.dse.driver.api.core.graph.predicates | |
com.datastax.dse.driver.api.core.type.codec |
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 TypeCodec<Polygon> |
DseTypeCodecs.POLYGON |
Copyright © 2017–2024. All rights reserved.