Package org.neo4j.graphdb.spatial
Interface Geometry
- All Known Subinterfaces:
Point
public interface Geometry
A geometry is defined by a list of coordinates and a coordinate reference system.
-
Method Summary
Modifier and TypeMethodDescriptionGet all coordinates of the geometry.getCRS()
Returns the coordinate reference system associated with the geometryGet string description of most specific type of this instance
-
Method Details
-
getGeometryType
String getGeometryType()Get string description of most specific type of this instance- Returns:
- The instance type implementing Geometry
-
getCoordinates
List<Coordinate> getCoordinates()Get all coordinates of the geometry.- Returns:
- The coordinates of the geometry.
-
getCRS
CRS getCRS()Returns the coordinate reference system associated with the geometry- Returns:
- A $
CRS
associated with the geometry
-