Class Point


  • @Deprecated(since="2021-05-27")
    public final class Point
    extends Geometry
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    A representation of a GeoJSON Point.
    Since:
    3.1
    • Constructor Detail

      • Point

        public Point​(Position coordinate)
        Deprecated.
        Construct an instance with the given coordinate.
        Parameters:
        coordinate - the non-null coordinate of the point
      • Point

        public Point​(@Nullable
                     CoordinateReferenceSystem coordinateReferenceSystem,
                     Position coordinate)
        Deprecated.
        Construct an instance with the given coordinate and coordinate reference system.
        Parameters:
        coordinateReferenceSystem - the coordinate reference system
        coordinate - the non-null coordinate of the point
    • Method Detail

      • getCoordinates

        public Position getCoordinates()
        Deprecated.
        Gets the GeoJSON coordinates of this point.
        Returns:
        the coordinates
      • getPosition

        public Position getPosition()
        Deprecated.
        Gets the position of this point.
        Returns:
        the position
      • equals

        public boolean equals​(java.lang.Object o)
        Deprecated.
        Overrides:
        equals in class Geometry
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Geometry
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object