Interface Point

All Superinterfaces:
Geometry

public interface Point extends Geometry
A point is a geometry described by a single coordinate in space.

A call to Geometry.getCoordinates() must return a single element list.

  • Method Summary

    Modifier and Type
    Method
    Description
    default Coordinate
    Returns the single coordinate in space defining this point.
    default String
    Get string description of most specific type of this instance

    Methods inherited from interface org.neo4j.graphdb.spatial.Geometry

    getCoordinates, getCRS
  • Method Details

    • getCoordinate

      default Coordinate getCoordinate()
      Returns the single coordinate in space defining this point.
      Returns:
      The coordinate of this point.
    • getGeometryType

      default String getGeometryType()
      Description copied from interface: Geometry
      Get string description of most specific type of this instance
      Specified by:
      getGeometryType in interface Geometry
      Returns:
      The instance type implementing Geometry