Class MultiPoint

    • Constructor Detail

      • MultiPoint

        public MultiPoint()
        Constructor
      • MultiPoint

        public MultiPoint​(List<Point> points)
        Constructor
        Parameters:
        points - points list
        Since:
        3.0.0
      • MultiPoint

        public MultiPoint​(MultiPoint multiPoint)
        Constructor
        Parameters:
        multiPoint - simple multi point
    • Method Detail

      • fromCoordinates

        public static MultiPoint fromCoordinates​(List<Position> coordinates)
        Create a multi point from coordinates
        Parameters:
        coordinates - coordinates
        Returns:
        multi point
        Since:
        3.0.0
      • getGeometry

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

        public List<Position> getCoordinates()
        Returns coordinates as a GeoJSON Position list
        Returns:
        the coordinates
      • setCoordinates

        public void setCoordinates​(List<Position> coordinates)
        Sets the coordinates from a GeoJSON Position list
        Parameters:
        coordinates - coordinates
        Since:
        3.0.0
      • getPoints

        public List<Point> getPoints()
        Get the points
        Returns:
        list of points
        Since:
        3.0.0
      • setPoints

        public void setPoints​(List<Point> points)
        Set the points
        Parameters:
        points - list of points
        Since:
        3.0.0
      • getMultiPoint

        public MultiPoint getMultiPoint()
        Get the simple features multi point
        Returns:
        multi point
        Since:
        3.0.0
      • setMultiPoint

        public void setMultiPoint​(MultiPoint multiPoint)
        Set the simple features multi point
        Parameters:
        multiPoint - multi point
        Since:
        3.0.0