Package mil.nga.sf

Class Polygon

    • Constructor Detail

      • Polygon

        public Polygon()
        Constructor
      • Polygon

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

        public Polygon​(List<LineString> rings)
        Constructor
        Parameters:
        rings - list of rings
      • Polygon

        public Polygon​(LineString ring)
        Constructor
        Parameters:
        ring - ring
      • Polygon

        public Polygon​(Polygon polygon)
        Copy Constructor
        Parameters:
        polygon - polygon to copy
      • Polygon

        protected Polygon​(GeometryType type,
                          boolean hasZ,
                          boolean hasM)
        Constructor
        Parameters:
        type - geometry type
        hasZ - has z
        hasM - has m
    • Method Detail

      • isSimple

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