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

public interface ILcdPolygon extends ILcdShape, ILcdPointList
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 Details

    • CLOCKWISE

      static final int CLOCKWISE
      Indicates a clockwise orientation of a polygon.
      See Also:
    • COUNTERCLOCKWISE

      static final int COUNTERCLOCKWISE
      Indicates a counter-clockwise orientation of a polygon.
      See Also:
    • INVALID_ORIENTATION

      static final int INVALID_ORIENTATION
      Indicates that the orientation was not calculated yet.
      See Also:
  • Method Details

    • getOrientation

      int getOrientation()
      Returns the orientation of this ILcdPolygon: ILcdPolygon.CLOCKWISE or ILcdPolygon.COUNTERCLOCKWISE.
      Returns:
      the orientation of this ILcdPolygon: ILcdPolygon.CLOCKWISE or ILcdPolygon.COUNTERCLOCKWISE. This method should not return INVALID_ORIENTATION, which is only to be used for resetting the orientation so that it can be recalculated.