Package com.luciad.ais.model.airspace
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
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:
-
Field Summary
Fields inherited from interface com.luciad.shape.ILcdCurve
INTERPOLATION_CIRCLE_BY_3POINTS, INTERPOLATION_CIRCLE_BY_CENTERPOINT, INTERPOLATION_CIRCULARARC_BY_3POINTS, INTERPOLATION_CIRCULARARC_BY_BULGE, INTERPOLATION_CIRCULARARC_BY_CENTERPOINT, INTERPOLATION_ELLIPTICAL, INTERPOLATION_GEODESIC, INTERPOLATION_LINEAR, INTERPOLATION_MIXED, INTERPOLATION_RHUMBFields inherited from interface com.luciad.shape.ILcdPolygon
CLOCKWISE, COUNTERCLOCKWISE, INVALID_ORIENTATION -
Method Summary
Modifier and TypeMethodDescriptiongetSegment(int aIndex) Returns theILcdAirspaceSegmentobject with the given index.getSegmentBySegmentNumber(int aSegmentNumber) Returns theILcdAirspaceSegmentobject with the given segment number.intReturns the number ofILcdAirspaceSegmentobjects.Methods inherited from interface com.luciad.shape.ILcdBounded
getBoundsMethods inherited from interface com.luciad.util.ILcdCloneable
cloneMethods inherited from interface com.luciad.shape.ILcdCurve
computePointSFCT, getEndPoint, getEndTangent2D, getInterpolation, getLength2D, getLineSegmentIntersectionCount, getStartPoint, getStartTangent2D, getTangent2DMethods inherited from interface com.luciad.datamodel.ILcdDataObject
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValueMethods inherited from interface com.luciad.ais.shape.ILcdGeoPath
getLeg, getLegCountMethods inherited from interface com.luciad.shape.ILcdPointList
getPoint, getPointCount, getPointSFCT, getX, getY, getZMethods inherited from interface com.luciad.shape.ILcdPolygon
getOrientationMethods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
-
Method Details
-
getSegmentBySegmentNumber
Returns theILcdAirspaceSegmentobject with the given segment number. If noILcdAirspaceSegmentobject is found with the number,nullis returned.- Parameters:
aSegmentNumber- the segment number to look for.- Returns:
- the
ILcdAirspaceSegmentwith the given segment number, ornullif no segment is found.
-
getSegment
Returns theILcdAirspaceSegmentobject with the given index.- Parameters:
aIndex- the segment number to look for- Returns:
- the
ILcdAirspaceSegmentwith the given index. - Throws:
ArrayIndexOutOfBoundsException- if the index is out of range (index < 0 || index >= getSegmentCount()).
-
getSegmentCount
int getSegmentCount()Returns the number ofILcdAirspaceSegmentobjects.- Returns:
- the number of
ILcdAirspaceSegmentobjects.
-