Interface ILcdAirspace

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

public interface ILcdAirspace extends ILcdPolygon, ILcdGeoPath, ILcdGenericAirspace, ILcdRing
This interface describes the geometry and the relationships of an airspace. An airspace is considered to be a polygon. Airspaces represent variously 'regions', 'areas', 'zones', 'sectors' etc, as used in and by air traffic services.

The border of the airspace is represented by a set of ILcdAirspaceSegment objects. These segments are discretized to a point list, which are used to construct the polygon. The discretized points can be retrieved through the methods available in ILcdPolygon.

The height information of the airspace corridor is stored in features, see ILcdAirspaceFeature and TLcdFeaturedAirspace.

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 return a specified default value for these new attributes or relationships (for instance 'null'). This will require a minimal effort to update existing code to a new version of AIS.

See Also:
  • Method Details

    • getSegmentBySegmentNumber

      ILcdAirspaceSegment getSegmentBySegmentNumber(int aSegmentNumber)
      Returns the ILcdAirspaceSegment object with the given segment number. If no ILcdAirspaceSegment object is found with the number, null is returned.
      Parameters:
      aSegmentNumber - the segment number to look for.
      Returns:
      the ILcdAirspaceSegment with the given segment number, or null if no segment is found.
    • getSegment

      ILcdAirspaceSegment getSegment(int aIndex)
      Returns the ILcdAirspaceSegment object with the given index.
      Parameters:
      aIndex - the segment number to look for
      Returns:
      the ILcdAirspaceSegment with the given index.
      Throws:
      ArrayIndexOutOfBoundsException - if the index is out of range (index < 0 || index >= getSegmentCount()).
    • getSegmentCount

      int getSegmentCount()
      Returns the number of ILcdAirspaceSegment objects.
      Returns:
      the number of ILcdAirspaceSegment objects.