Class Point

    • Constructor Detail

      • Point

        public Point()
        Constructor
      • Point

        public Point​(Position position)
        Constructor
        Parameters:
        position - position
      • Point

        public Point​(Point point)
        Constructor
        Parameters:
        point - simple point
    • Method Detail

      • fromCoordinates

        public static Point fromCoordinates​(Position coordinates)
        Create a point from coordinates
        Parameters:
        coordinates - coordinates
        Returns:
        point
        Since:
        3.0.0
      • getGeometry

        public Geometry getGeometry()
        Get the simple geometry
        Specified by:
        getGeometry in class Geometry
        Returns:
        simple geometry
      • getCoordinates

        public Position getCoordinates()
        Returns coordinates as a GeoJSON Position object
        Returns:
        the coordinates
      • setCoordinates

        public void setCoordinates​(Position coordinates)
        Sets the coordinates
        Parameters:
        coordinates - coordinates
      • getPosition

        public Position getPosition()
        Get the position
        Returns:
        position
        Since:
        3.0.0
      • setPosition

        public void setPosition​(Position position)
        Set the position
        Parameters:
        position - position
        Since:
        3.0.0
      • getPoint

        public Point getPoint()
        Get the simple features point
        Returns:
        point
        Since:
        3.0.0
      • setPoint

        public void setPoint​(Point point)
        Set the simple features point
        Parameters:
        point - point
        Since:
        3.0.0