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:
    Serialized Form
    • Field Detail

      • TYPE

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

      • 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)