Package io.github.sebasbaumh.postgis
Class CurvePolygon
- java.lang.Object
-
- io.github.sebasbaumh.postgis.Geometry
-
- io.github.sebasbaumh.postgis.PolygonBase<Curve>
-
- io.github.sebasbaumh.postgis.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 Summary
Fields Modifier and Type Field Description static int
TYPE
The OGIS geometry type number for polygons with curved segments.-
Fields inherited from class io.github.sebasbaumh.postgis.Geometry
UNKNOWN_SRID
-
-
Constructor Summary
Constructors Constructor Description CurvePolygon()
Constructs 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 io.github.sebasbaumh.postgis.Geometry
getDimension, getSrid, getType, numPoints, setSrid
-
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 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
-
-