Interface ILcdEditableAirspace

All Superinterfaces:
Cloneable, ILcdAirspace, ILcdBounded, ILcdCloneable, ILcdCurve, ILcdDataObject, ILcdGenericAirspace, ILcdGeoPath, ILcdPointList, ILcdPolygon, ILcdRing, ILcdShape, Serializable
All Known Subinterfaces:
ILcdEditableRefuelingAirspace
All Known Implementing Classes:
TLcdAirspace, TLcdFeaturedAirspace, TLcdFeaturedRefuelingAirspace, TLcdRefuelingAirspace

public interface ILcdEditableAirspace extends ILcdAirspace
This interface defines operations to edit the attributes, relationships and geometry of an ILcdAirspace.

Attributes and relationships in AIS domain objects can be required or optional. When unspecified, an attribute or relationship is optional. Note that most optional attributes are modeled using features.

In future releases of AIS, optional attributes or relationship may be added to this interface. When this would happen, existing implementations may just provide an empty implementation modifying or setting these new attributes or relationships. This will require a minimal effort to update existing code to a new version of AIS.

  • Method Details

    • addSegment

      void addSegment(ILcdAirspaceSegment aSegment)
      Adds a ILcdAirspaceSegment object to the end of the ILcdEditableAirspace. Note that there is no explicit check for null segments, which leave the airspace in an invalid state.
      Parameters:
      aSegment - the ILcdAirspaceSegment object to be added
    • removeSegment

      void removeSegment(ILcdAirspaceSegment aSegment)
      Removes a ILcdAirspaceSegment object from the ILcdEditableAirspace. If this airspace does not contain the segment or if null is supplied, it is unchanged. If the segment is found and removed, subsequent segments are shifted to the left.
      Parameters:
      aSegment - the ILcdAirspaceSegment object to be removed
    • insertSegmentAt

      void insertSegmentAt(ILcdAirspaceSegment aSegment, int anIndex)
      Adds a ILcdAirspaceSegment object to the ILcdEditableAirspace on the specified index. Subsequent segments are shifted to the right after the addition. Note that there is no explicit check for null segments, which leave the airspace in an invalid state.
      Parameters:
      aSegment - the ILcdAirspaceSegment object to be added to the ILcdEditableAirspace.
      anIndex - the index in the ILcdEditableAirspace where the ILcdAirspaceSegment object must be added.
      Throws:
      ArrayIndexOutOfBoundsException - if the index is out of range (index < 0 || index >= getSegmentCount()).
    • removeSegmentAt

      void removeSegmentAt(int anIndex)
      Removes the ILcdAirspaceSegment object on the specified index from the from ILcdEditableAirspace. Subsequent segments are shifted to the left after the removal.
      Parameters:
      anIndex - the index in the ILcdEditableAirspace where the ILcdAirspaceSegment object must be removed.
      Throws:
      ArrayIndexOutOfBoundsException - if the index is out of range (index < 0 || index >= getSegmentCount()).