public interface ILcdAirspaceCorridor extends ILcdGeoBuffer, ILcdPointList, ILcdGeoPath, ILcdGenericAirspace, ILcdCurve
ILcdAirspaceSegment
objects,
of which the last segment needs to be of the leg type ILcdAirspaceSegment.POINT
.
This segment represents the last point of the axis. Before the contour of the airspace is calculated,
the segments are discretized to a point list. The discretized axis points can be retrieved individually
through the methods available in ILcdPointList
, or as a polyline shape
through the method getBaseShape()
. The methods of ILcdCurve
uses the discretized axis points
representation exposed by the methods in ILcdPointList
.
The contour of the airspace corridor can be retrieved via getContour()
.
It is modeled as a complex polygon (i.e., a composite polygon consisting of one or more polygons
that each define an edge of the contour). In the simplest form, the contour is represented
by a single polygon. In cases where the airspace corridor intersects with itself,
multiple polygons are used to define the contour.
The height information of the airspace corridor is stored in features, see ILcdAirspaceFeature
and TLcdFeaturedAirspaceCorridor
.
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.
ILcdAirspaceFeature
CAP_BUTT, CAP_ROUND, JOIN_ROUND
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
Modifier and Type | Method and Description |
---|---|
ILcdShape |
getBaseShape()
Returns the discretized axis of the airspace corridor.
|
ILcdComplexPolygon |
getContour()
Returns the contour of the airspace corridor.
|
int |
getEndCapStyle()
Returns the end cap style of the airspace corridor.
|
int |
getJoinStyle()
Returns the join style of the airspace corridor.
|
ILcdPoint |
getPoint(int aIndex)
Returns the point of the axis at the given index.
|
int |
getPointCount()
Returns the number of points in the discretized axis.
|
ILcdAirspaceSegment |
getSegment(int aIndex)
Returns the
ILcdAirspaceSegment object with the given index. |
ILcdAirspaceSegment |
getSegmentBySegmentNumber(int aSegmentNumber)
Returns the
ILcdAirspaceSegment object with the given segment number. |
int |
getSegmentCount()
Returns the number of
ILcdAirspaceSegment objects
that construct the airspace corridor axis. |
double |
getWidth()
Returns the width of the airspace corridor,
expressed in meters and measured from the axis to the border.
|
getPointSFCT, getX, getY, getZ
getLeg, getLegCount
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
computePointSFCT, getEndPoint, getEndTangent2D, getInterpolation, getLength2D, getLineSegmentIntersectionCount, getStartPoint, getStartTangent2D, getTangent2D
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
clone
ILcdAirspaceSegment getSegmentBySegmentNumber(int aSegmentNumber)
ILcdAirspaceSegment
object with the given segment number.
If no ILcdAirspaceSegment
object is found with the number,
null
is returned.aSegmentNumber
- the segment number to look for.ILcdAirspaceSegment
with the given segment number,
or null
if no segment is found.ILcdAirspaceSegment getSegment(int aIndex)
ILcdAirspaceSegment
object with the given index.aIndex
- the segment number to look forILcdAirspaceSegment
with the given index.ArrayIndexOutOfBoundsException
- if the index is out of range (index
< 0 || index >= getSegmentCount()).int getSegmentCount()
ILcdAirspaceSegment
objects
that construct the airspace corridor axis.ILcdAirspaceSegment
objects.double getWidth()
getWidth
in interface ILcdGeoBuffer
int getEndCapStyle()
getEndCapStyle
in interface ILcdGeoBuffer
int getJoinStyle()
getJoinStyle
in interface ILcdGeoBuffer
ILcdComplexPolygon getContour()
ILcdShape getBaseShape()
getBaseShape
in interface ILcdGeoBuffer
int getPointCount()
getPointCount
in interface ILcdPointList
ILcdPoint getPoint(int aIndex)
getPoint
in interface ILcdPointList
aIndex
- the index of the point to be retrieved.IndexOutOfBoundsException
- if the index is out of range (index
< 0 || index >= getPointCount()).