Interface Point


@Immutable public interface Point
Represents a single point in a particular coordinate reference system.

Value that represents a point can be created using Values.point(int, double, double) or Values.point(int, double, double, double) method.

  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Retrieve identifier of the coordinate reference system for this point.
    double
    x()
    Retrieve x coordinate of this point.
    double
    y()
    Retrieve y coordinate of this point.
    double
    z()
    Retrieve z coordinate of this point.
  • Method Details

    • srid

      int srid()
      Retrieve identifier of the coordinate reference system for this point.
      Returns:
      coordinate reference system identifier.
    • x

      double x()
      Retrieve x coordinate of this point.
      Returns:
      the x coordinate value.
    • y

      double y()
      Retrieve y coordinate of this point.
      Returns:
      the y coordinate value.
    • z

      double z()
      Retrieve z coordinate of this point.
      Returns:
      the z coordinate value or Double.NaN if not applicable.