Class CurvePolygon

All Implemented Interfaces:
LineBasedGeometry, Serializable, Iterable<Curve>

@NonNullByDefault public class CurvePolygon extends PolygonBase<Curve>
A CURVEPOLYGON is just like a polygon, with an outer ring and zero or more inner rings. The difference is that a ring can take the form of a circular string, linear string or compound string.
Author:
Sebastian Baumhekel
See Also:
  • Field Details

    • TYPE

      public static final int TYPE
      The OGIS geometry type number for polygons with curved segments.
      See Also:
  • Constructor Details

    • CurvePolygon

      public CurvePolygon()
      Constructs an instance.
    • CurvePolygon

      public CurvePolygon(Curve lsOuterRing)
      Constructs an instance.
      Parameters:
      lsOuterRing - outer ring
    • CurvePolygon

      public CurvePolygon(Iterable<? extends Curve> rings)
      Constructs an instance.
      Parameters:
      rings - rings (first one will be the outer ring)