Package mil.nga.sf

Class MultiPoint

    • Constructor Detail

      • MultiPoint

        public MultiPoint()
        Constructor
      • MultiPoint

        public MultiPoint​(boolean hasZ,
                          boolean hasM)
        Constructor
        Parameters:
        hasZ - has z
        hasM - has m
      • MultiPoint

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

        public MultiPoint​(Point point)
        Constructor
        Parameters:
        point - point
      • MultiPoint

        public MultiPoint​(MultiPoint multiPoint)
        Copy Constructor
        Parameters:
        multiPoint - multi point to copy
    • Method Detail

      • getPoints

        public List<Point> getPoints()
        Get the points
        Returns:
        points
      • setPoints

        public void setPoints​(List<Point> points)
        Set the points
        Parameters:
        points - points
      • addPoint

        public void addPoint​(Point point)
        Add a point
        Parameters:
        point - point
      • addPoints

        public void addPoints​(List<Point> points)
        Add points
        Parameters:
        points - points
      • numPoints

        public int numPoints()
        Get the number of points
        Returns:
        number of points
      • getPoint

        public Point getPoint​(int n)
        Returns the Nth point
        Parameters:
        n - nth point to return
        Returns:
        point
      • isSimple

        public boolean isSimple()
        Determine if this Geometry has no anomalous geometric points, such as self intersection or self tangency
        Overrides:
        isSimple in class GeometryCollection<Point>
        Returns:
        true if simple