Modifier and Type | Method and Description |
---|---|
static Point |
Point.fromCoordinates(double x,
double y) |
static Point |
Point.fromGeoJson(String source)
Creates a point from a GeoJSON
Point representation.
|
static Point |
Point.fromWellKnownBinary(ByteBuffer source)
Creates a point from its Well-known Binary
(WKB) representation.
|
static Point |
Point.fromWellKnownText(String source)
Creates a point from its Well-known
Text (WKT) representation.
|
Modifier and Type | Method and Description |
---|---|
List<Point> |
Polygon.getExteriorRing()
Returns the external ring of the polygon.
|
List<List<Point>> |
Polygon.getInteriorRings()
Returns the internal rings of the polygon, i.e.
|
List<Point> |
LineString.getPoints() |
Modifier and Type | Method and Description |
---|---|
Polygon.Builder |
Polygon.Builder.addRing(Point p1,
Point p2,
Point p3,
Point... pn)
Adds a new ring for this polygon.
|
Polygon.Builder |
Polygon.Builder.addRing(Point p1,
Point p2,
Point p3,
Point... pn)
Adds a new ring for this polygon.
|
static LineString |
LineString.fromPoints(Point p1,
Point p2,
Point... pn)
Creates a line string from two or more points.
|
static LineString |
LineString.fromPoints(Point p1,
Point p2,
Point... pn)
Creates a line string from two or more points.
|
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.fromPoints(Point p1,
Point p2,
Point p3,
Point... pn)
Creates a polygon from a series of 3 or more points.
|
Modifier and Type | Method and Description |
---|---|
static Point |
Geo.point(double x,
double y)
Creates a point from the given coordinates.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.tinkerpop.gremlin.process.traversal.P<Object> |
Geo.inside(Point center,
double radius)
Finds whether an entity is inside the given circular area using a cartesian coordinate system.
|
static org.apache.tinkerpop.gremlin.process.traversal.P<Object> |
Geo.inside(Point center,
double radius,
Geo.Unit units)
Finds whether an entity is inside the given circular area using a geo coordinate system.
|
static LineString |
Geo.lineString(Point point1,
Point point2,
Point... otherPoints)
Creates a line string from the given (at least 2) points.
|
static LineString |
Geo.lineString(Point point1,
Point point2,
Point... otherPoints)
Creates a line string from the given (at least 2) points.
|
static Polygon |
Geo.polygon(Point p1,
Point p2,
Point p3,
Point... otherPoints)
Creates a polygon from the given (at least 3) 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 | Field and Description |
---|---|
static com.datastax.oss.driver.api.core.type.codec.TypeCodec<Point> |
DseTypeCodecs.POINT |
Modifier and Type | Class and Description |
---|---|
class |
DefaultPoint |
Modifier and Type | Method and Description |
---|---|
Point |
Distance.getCenter() |
Modifier and Type | Method and Description |
---|---|
List<Point> |
DefaultPolygon.getExteriorRing() |
List<List<Point>> |
DefaultPolygon.getInteriorRings() |
List<Point> |
DefaultLineString.getPoints() |
static com.datastax.oss.driver.shaded.guava.common.collect.ImmutableList<Point> |
DefaultGeometry.getPoints(com.esri.core.geometry.ogc.OGCLineString lineString) |
Modifier and Type | Method and Description |
---|---|
DefaultPolygon.Builder |
DefaultPolygon.Builder.addRing(Point p1,
Point p2,
Point p3,
Point... pn) |
DefaultPolygon.Builder |
DefaultPolygon.Builder.addRing(Point p1,
Point p2,
Point p3,
Point... pn) |
protected static com.esri.core.geometry.Point |
DefaultGeometry.toEsri(Point p) |
Constructor and Description |
---|
DefaultLineString(Point p1,
Point p2,
Point... pn) |
DefaultLineString(Point p1,
Point p2,
Point... pn) |
DefaultPolygon(Point p1,
Point p2,
Point p3,
Point... pn) |
DefaultPolygon(Point p1,
Point p2,
Point p3,
Point... pn) |
Distance(Point center,
double radius)
Creates a new distance with the given center and radius.
|
Modifier and Type | Method and Description |
---|---|
protected Point |
PointCodec.fromWellKnownBinary(ByteBuffer source) |
protected Point |
PointCodec.fromWellKnownText(String source) |
Modifier and Type | Method and Description |
---|---|
com.datastax.oss.driver.api.core.type.reflect.GenericType<Point> |
PointCodec.getJavaType() |
Modifier and Type | Method and Description |
---|---|
protected ByteBuffer |
PointCodec.toWellKnownBinary(Point geometry) |
protected String |
PointCodec.toWellKnownText(Point geometry) |
Copyright © 2017–2019. All rights reserved.