Package io.github.sebasbaumh.postgis
Class CurvePolygon
- All Implemented Interfaces:
LineBasedGeometry
,Serializable
,Iterable<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 Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The OGIS geometry type number for polygons with curved segments.Fields inherited from class io.github.sebasbaumh.postgis.Geometry
UNKNOWN_SRID
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an instance.CurvePolygon
(Curve lsOuterRing) Constructs an instance.CurvePolygon
(Iterable<? extends Curve> rings) Constructs an instance. -
Method Summary
Methods inherited from class io.github.sebasbaumh.postgis.PolygonBase
addRing, checkConsistency, clearRings, equals, getCoordinates, getEndPoint, getNumberOfCoordinates, getNumberOfRings, getOuterRing, getRings, getStartPoint, hashCode, hasMeasure, is3d, isClockwise, isClosed, isEmpty, iterator, length, setOuterRing, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
TYPE
public static final int TYPEThe OGIS geometry type number for polygons with curved segments.- See Also:
-
-
Constructor Details
-
CurvePolygon
public CurvePolygon()Constructs an instance. -
CurvePolygon
Constructs an instance.- Parameters:
lsOuterRing
- outer ring
-
CurvePolygon
Constructs an instance.- Parameters:
rings
- rings (first one will be the outer ring)
-