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_RHUMB
Fields inherited from interface com.luciad.shape.ILcdPolygon
CLOCKWISE, COUNTERCLOCKWISE, INVALID_ORIENTATION
-
Method Summary
Modifier and TypeMethodDescriptiongetSegment
(int aIndex) Returns theILcdAirspaceSegment
object with the given index.getSegmentBySegmentNumber
(int aSegmentNumber) Returns theILcdAirspaceSegment
object with the given segment number.int
Returns the number ofILcdAirspaceSegment
objects.Methods inherited from interface com.luciad.shape.ILcdBounded
getBounds
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
Methods inherited from interface com.luciad.shape.ILcdCurve
computePointSFCT, getEndPoint, getEndTangent2D, getInterpolation, getLength2D, getLineSegmentIntersectionCount, getStartPoint, getStartTangent2D, getTangent2D
Methods inherited from interface com.luciad.datamodel.ILcdDataObject
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
Methods inherited from interface com.luciad.ais.shape.ILcdGeoPath
getLeg, getLegCount
Methods inherited from interface com.luciad.shape.ILcdPointList
getPoint, getPointCount, getPointSFCT, getX, getY, getZ
Methods inherited from interface com.luciad.shape.ILcdPolygon
getOrientation
Methods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
-
Method Details
-
getSegmentBySegmentNumber
Returns theILcdAirspaceSegment
object with the given segment number. If noILcdAirspaceSegment
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, ornull
if no segment is found.
-
getSegment
Returns theILcdAirspaceSegment
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 ofILcdAirspaceSegment
objects.- Returns:
- the number of
ILcdAirspaceSegment
objects.
-