Class Coordinate

java.lang.Object
org.neo4j.graphdb.spatial.Coordinate

public final class Coordinate extends Object
A coordinate is used to describe a position in space.

A coordinate is described by at least two numbers and must adhere to the following ordering

  • x, y, z ordering in a cartesian reference system
  • east, north, altitude in a projected coordinate reference system
  • longitude, latitude, altitude in a geographic reference system

Additional numbers are allowed and the meaning of these additional numbers depends on the coordinate reference system (see $CRS)

  • Constructor Details

    • Coordinate

      public Coordinate(double... coordinate)
  • Method Details

    • getCoordinate

      public double[] getCoordinate()
    • getCoordinateCopy

      public double[] getCoordinateCopy()
    • equals

      public boolean equals(Object o)
    • hashCode

      public int hashCode()