Package com.luciad.shape
Interface ILcdPolygon
- All Superinterfaces:
Cloneable,ILcdBounded,ILcdCloneable,ILcdPointList,ILcdShape,Serializable
- All Known Subinterfaces:
ILcd2DEditablePolygon,ILcd3DEditablePolygon,ILcdAirspace,ILcdAreaMinimumAltitude,ILcdEditableAirspace,ILcdEditableAreaMinimumAltitude,ILcdEditableHelipad,ILcdEditableOrtca,ILcdEditableParachuteJumpArea,ILcdEditableRefuelingAirspace,ILcdHelipad,ILcdOrtca,ILcdParachuteJumpArea,ILcdRefuelingAirspace
- All Known Implementing Classes:
ALcdDiscretizedGeoPath,TLcdAirspace,TLcdAISPolygon,TLcdAreaMinimumAltitude,TLcdCGMPolygon,TLcdDGNFloatShape2D,TLcdDGNFloatShape3D,TLcdDGNShape2D,TLcdDiscretizedLonLatGeoPath,TLcdDWGFace3D,TLcdDWGPolyline2D,TLcdDWGSolid,TLcdFeaturedAirspace,TLcdFeaturedAreaMinimumAltitude,TLcdFeaturedHelipad,TLcdFeaturedOrtca,TLcdFeaturedParachuteJumpArea,TLcdFeaturedRefuelingAirspace,TLcdGML2LinearRing,TLcdGML31LinearRing,TLcdGML31Triangle,TLcdGML32LinearRing,TLcdGML32Triangle,TLcdHelipad,TLcdKML22LinearRing,TLcdLonLatFloatPolygon,TLcdLonLatFloatPolygonCache,TLcdLonLatHeightMPolygon,TLcdLonLatHeightPolygon,TLcdLonLatMPolygon,TLcdLonLatPolygon,TLcdLonLatRhumbPolygon,TLcdMeasureXYPolygon,TLcdMeasureXYZPolygon,TLcdNVG15Polygon,TLcdNVG20LinearRing,TLcdOrtca,TLcdParachuteJumpArea,TLcdRefuelingAirspace,TLcdS57Face,TLcdSHPPolygonZ,TLcdXYFloatPolygon,TLcdXYFloatPolygonCache,TLcdXYMPolygon,TLcdXYPolygon,TLcdXYZFloatPolygon,TLcdXYZMPolygon,TLcdXYZPolygon
An
ILcdPolygon is an ILcdShape that represents a closed polygon.
Its vertices can be accessed through the ILcdPointList interface.
The polygon has an orientation that is clockwise or counter-clockwise.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates a clockwise orientation of a polygon.static final intIndicates a counter-clockwise orientation of a polygon.static final intIndicates that the orientation was not calculated yet. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the orientation of thisILcdPolygon:ILcdPolygon.CLOCKWISEorILcdPolygon.COUNTERCLOCKWISE.Methods inherited from interface com.luciad.shape.ILcdBounded
getBoundsMethods inherited from interface com.luciad.util.ILcdCloneable
cloneMethods inherited from interface com.luciad.shape.ILcdPointList
getPoint, getPointCount, getPointSFCT, getX, getY, getZMethods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
-
Field Details
-
CLOCKWISE
static final int CLOCKWISEIndicates a clockwise orientation of a polygon.- See Also:
-
COUNTERCLOCKWISE
static final int COUNTERCLOCKWISEIndicates a counter-clockwise orientation of a polygon.- See Also:
-
INVALID_ORIENTATION
static final int INVALID_ORIENTATIONIndicates that the orientation was not calculated yet.- See Also:
-
-
Method Details
-
getOrientation
int getOrientation()Returns the orientation of thisILcdPolygon:ILcdPolygon.CLOCKWISEorILcdPolygon.COUNTERCLOCKWISE.- Returns:
- the orientation of this
ILcdPolygon:ILcdPolygon.CLOCKWISEorILcdPolygon.COUNTERCLOCKWISE. This method should not returnINVALID_ORIENTATION, which is only to be used for resetting the orientation so that it can be recalculated.
-