public interface ILcdComplexPolygon extends ILcdShape, ILcdPointList
An ILcdComplexPolygon
is an ILcdShape
that is
described by a list of ILcdPolygon
objects. Each ILcdPolygon
object defines an edge of the complex polygon. The resulting shape is a set
of one or more polygons each containing one or more holes.
The image below shows a single complex polygon composed of 5 polygons:
The list can only be read using this interface, not modified. See also
ILcdEditableComplexPolygon
.
Modifier and Type | Method and Description |
---|---|
ILcdPolygon |
getPolygon(int aIndex)
Returns the
ILcdPolygon at the given index. |
int |
getPolygonCount()
Returns the number of
ILcdPolygon objects in the list. |
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
clone
getPoint, getPointCount, getPointSFCT, getX, getY, getZ
int getPolygonCount()
ILcdPolygon
objects in the list.ILcdPolygon
objects in the list.ILcdPolygon getPolygon(int aIndex) throws IndexOutOfBoundsException
ILcdPolygon
at the given index.aIndex
- a valid index in the list of ILcdPolygon
objects.ILcdPolygon
at the given index.IndexOutOfBoundsException
- when the index is not valid.