public interface IPolygon extends IGeometry
IPolygon is an IGeometry that consists of a single exterior IRing and zero
or more interior IRings that represent holes in the exterior ring.| Modifier and Type | Method and Description |
|---|---|
IPolygon |
getCopy()
Get a (permanent) copy of this
IGeometry. |
IPolygon |
getCopy(CoordSys crs)
Get a (permanent) copy of this
IGeometry transformed to the
given coordinate system. |
IRing |
getExteriorRing()
Returns the exterior
IRing of the IPolygon. |
int |
getInteriorRingCount()
Returns the number of interior
IRings. |
Iterator<IRing> |
getInteriorRingIterator()
Returns an
Iterator over the IPolygon's interior IRings. |
contains, getArea, getCoordSys, getDimension, getEnvelope, getPerimeter, getSpatialInfo, getType, isEmpty, isTransient, mAllSet, mSet, zAllSet, zSetIRing getExteriorRing()
IRing of the IPolygon.IRing of the IPolygon.Iterator<IRing> getInteriorRingIterator()
Iterator over the IPolygon's interior IRings.Iterator over the IPolygon's interior IRings.int getInteriorRingCount()
IRings.IRings.IPolygon getCopy(CoordSys crs)
IGeometryIGeometry transformed to the
given coordinate system.getCopy in interface IGeometrycrs - coordinate system of the returned copyIGeometry in the given coordinate systemIGeometry.isTransient()IPolygon getCopy()
IGeometryIGeometry.getCopy in interface IGeometryIGeometry.IGeometry.getCopy(CoordSys),
IGeometry.isTransient()