Class TLcdAirspaceSegment

All Implemented Interfaces:
ILcdAirspaceSegment, ILcdEditableAirspaceSegment, ILcdEditableGeoPathLeg, ILcdGeoPathLeg, ILcdBounded, ILcdPoint, ILcdShape, ILcd2DEditablePoint, ILcd2DEditableShape, ILcd3DEditablePoint, ILcd3DEditableShape, ILcdCloneable, Serializable, Cloneable

public class TLcdAirspaceSegment extends TLcdGeoPathLeg implements ILcdEditableAirspaceSegment
The default implementation of an airspace segment without features. Note that this class extends TLcdAISPoint, and so it is required to set a delegate point implementation using the setLocation() method before using the airspace segment object.
See Also:
  • Constructor Details

    • TLcdAirspaceSegment

      public TLcdAirspaceSegment()
      Constructs a new TLcdAirspaceSegment object.

      The geoPathLegType is set to ILcdGeoPathLeg.POINT.

    • TLcdAirspaceSegment

      public TLcdAirspaceSegment(int aGeoPathLegType)
      Constructs a new TLcdAirspaceSegment object with the given geoPathLegType.
      Parameters:
      aGeoPathLegType - The type of the new segment.
  • Method Details

    • getSegmentNumber

      public int getSegmentNumber()
      Description copied from interface: ILcdAirspaceSegment
      Returns the segment number of the ILcdAirspaceSegment object.
      Specified by:
      getSegmentNumber in interface ILcdAirspaceSegment
      Returns:
      the segment number of the ILcdAirspaceSegment object
    • setSegmentNumber

      public void setSegmentNumber(int aSegmentNumber)
      Description copied from interface: ILcdEditableAirspaceSegment
      Specifies the segment number of the ILcdEditableAirspaceSegment object. The segment number is application-defined and does not necessarily have to correspond with the index of the segment within containing airspace.
      Specified by:
      setSegmentNumber in interface ILcdEditableAirspaceSegment
      Parameters:
      aSegmentNumber - a segment number for the ILcdEditableAirspaceSegment object