Package com.luciad.ais.model.airspace
Class TLcdAirspaceSegment
java.lang.Object
com.luciad.ais.shape.TLcdAISPoint
com.luciad.ais.shape.TLcdGeoPathLeg
com.luciad.ais.model.airspace.TLcdAirspaceSegment
- All Implemented Interfaces:
ILcdAirspaceSegment
,ILcdEditableAirspaceSegment
,ILcdEditableGeoPathLeg
,ILcdGeoPathLeg
,ILcdBounded
,ILcdPoint
,ILcdShape
,ILcd2DEditablePoint
,ILcd2DEditableShape
,ILcd3DEditablePoint
,ILcd3DEditableShape
,ILcdCloneable
,Serializable
,Cloneable
The default implementation of an airspace segment without features.
Note that this class extends
TLcdAISPoint
, and so it is
required to set a delegate point implementation using the
setLocation()
method before using the airspace segment object.- See Also:
-
Field Summary
Fields inherited from interface com.luciad.ais.shape.ILcdGeoPathLeg
ARC, ARC_BY_EDGE, CIRCLE_POINT, CIRCLE_RADIUS, GEODESIC_LINE, POINT, RHUMB_LINE, SUB_POINT_LIST
-
Constructor Summary
ConstructorDescriptionConstructs a newTLcdAirspaceSegment
object.TLcdAirspaceSegment
(int aGeoPathLegType) Constructs a newTLcdAirspaceSegment
object with the given geoPathLegType. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the segment number of theILcdAirspaceSegment
object.void
setSegmentNumber
(int aSegmentNumber) Specifies the segment number of theILcdEditableAirspaceSegment
object.Methods inherited from class com.luciad.ais.shape.TLcdGeoPathLeg
clone, getDataLength, getDataSFCT, getStoredData, getType, setData
Methods inherited from class com.luciad.ais.shape.TLcdAISPoint
cloneAs2DEditablePoint, cloneAs3DEditablePoint, contains2D, contains2D, contains3D, contains3D, equals, getBounds, getCosX, getCosY, getFocusPoint, getSinX, getSinY, getTanX, getTanY, getX, getY, getZ, hashCode, move2D, move2D, move3D, move3D, setLocation, translate2D, translate3D
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.luciad.shape.shape2D.ILcd2DEditableShape
move2D, move2D, translate2D
Methods inherited from interface com.luciad.shape.shape3D.ILcd3DEditableShape
move3D, move3D, translate3D
Methods inherited from interface com.luciad.shape.ILcdBounded
getBounds
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
Methods inherited from interface com.luciad.ais.shape.ILcdGeoPathLeg
getDataLength, getDataSFCT, getType
Methods inherited from interface com.luciad.shape.ILcdPoint
cloneAs2DEditablePoint, cloneAs3DEditablePoint, equals, getCosX, getCosY, getSinX, getSinY, getTanX, getTanY, getX, getY, getZ
Methods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
-
Constructor Details
-
TLcdAirspaceSegment
public TLcdAirspaceSegment()Constructs a newTLcdAirspaceSegment
object.The geoPathLegType is set to
ILcdGeoPathLeg.POINT
. -
TLcdAirspaceSegment
public TLcdAirspaceSegment(int aGeoPathLegType) Constructs a newTLcdAirspaceSegment
object with the given geoPathLegType.- Parameters:
aGeoPathLegType
- The type of the new segment.
-
-
Method Details
-
getSegmentNumber
public int getSegmentNumber()Description copied from interface:ILcdAirspaceSegment
Returns the segment number of theILcdAirspaceSegment
object.- Specified by:
getSegmentNumber
in interfaceILcdAirspaceSegment
- Returns:
- the segment number of the
ILcdAirspaceSegment
object
-
setSegmentNumber
public void setSegmentNumber(int aSegmentNumber) Description copied from interface:ILcdEditableAirspaceSegment
Specifies the segment number of theILcdEditableAirspaceSegment
object. The segment number is application-defined and does not necessarily have to correspond with the index of the segment within containing airspace.- Specified by:
setSegmentNumber
in interfaceILcdEditableAirspaceSegment
- Parameters:
aSegmentNumber
- a segment number for theILcdEditableAirspaceSegment
object
-