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
ConstructorsConstructorDescriptionConstructs a newTLcdAirspaceSegmentobject.TLcdAirspaceSegment(int aGeoPathLegType) Constructs a newTLcdAirspaceSegmentobject with the given geoPathLegType. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the segment number of theILcdAirspaceSegmentobject.voidsetSegmentNumber(int aSegmentNumber) Specifies the segment number of theILcdEditableAirspaceSegmentobject.Methods inherited from class com.luciad.ais.shape.TLcdGeoPathLeg
clone, getDataLength, getDataSFCT, getStoredData, getType, setDataMethods 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, translate3DMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.luciad.shape.shape2D.ILcd2DEditableShape
move2D, move2D, translate2DMethods inherited from interface com.luciad.shape.shape3D.ILcd3DEditableShape
move3D, move3D, translate3DMethods inherited from interface com.luciad.shape.ILcdBounded
getBoundsMethods inherited from interface com.luciad.util.ILcdCloneable
cloneMethods inherited from interface com.luciad.ais.shape.ILcdGeoPathLeg
getDataLength, getDataSFCT, getTypeMethods inherited from interface com.luciad.shape.ILcdPoint
cloneAs2DEditablePoint, cloneAs3DEditablePoint, equals, getCosX, getCosY, getSinX, getSinY, getTanX, getTanY, getX, getY, getZMethods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
-
Constructor Details
-
TLcdAirspaceSegment
public TLcdAirspaceSegment()Constructs a newTLcdAirspaceSegmentobject.The geoPathLegType is set to
ILcdGeoPathLeg.POINT. -
TLcdAirspaceSegment
public TLcdAirspaceSegment(int aGeoPathLegType) Constructs a newTLcdAirspaceSegmentobject with the given geoPathLegType.- Parameters:
aGeoPathLegType- The type of the new segment.
-
-
Method Details
-
getSegmentNumber
public int getSegmentNumber()Description copied from interface:ILcdAirspaceSegmentReturns the segment number of theILcdAirspaceSegmentobject.- Specified by:
getSegmentNumberin interfaceILcdAirspaceSegment- Returns:
- the segment number of the
ILcdAirspaceSegmentobject
-
setSegmentNumber
public void setSegmentNumber(int aSegmentNumber) Description copied from interface:ILcdEditableAirspaceSegmentSpecifies the segment number of theILcdEditableAirspaceSegmentobject. The segment number is application-defined and does not necessarily have to correspond with the index of the segment within containing airspace.- Specified by:
setSegmentNumberin interfaceILcdEditableAirspaceSegment- Parameters:
aSegmentNumber- a segment number for theILcdEditableAirspaceSegmentobject
-