Package mil.nga.sf

Class LinearRing

    • Constructor Detail

      • LinearRing

        public LinearRing()
        Constructor
      • LinearRing

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

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

        public LinearRing​(LinearRing linearRing)
        Copy Constructor
        Parameters:
        linearRing - linear ring to copy
    • Method Detail

      • setPoints

        public void setPoints​(List<Point> points)
        Set the points
        Overrides:
        setPoints in class LineString
        Parameters:
        points - points
      • copy

        public Geometry copy()
        Copy the geometry
        Overrides:
        copy in class LineString
        Returns:
        geometry copy