Package com.luciad.ais.shape
Class TLcdGeoPathLeg
java.lang.Object
com.luciad.ais.shape.TLcdAISPoint
com.luciad.ais.shape.TLcdGeoPathLeg
- All Implemented Interfaces:
ILcdEditableGeoPathLeg
,ILcdGeoPathLeg
,ILcdBounded
,ILcdPoint
,ILcdShape
,ILcd2DEditablePoint
,ILcd2DEditableShape
,ILcd3DEditablePoint
,ILcd3DEditableShape
,ILcdCloneable
,Serializable
,Cloneable
- Direct Known Subclasses:
TLcdAirspaceSegment
,TLcdParachuteJumpAreaSegment
An implementation of the
ILcdGeoPathLeg
interface.
Note that this class extends TLcdAISPoint
, and so it is
required to set a delegate point implementation using the
setLocation()
method before using the GeoPath leg 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
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.int
Returns the number of parameters in the leg's data array.void
getDataSFCT
(double[] aDataSFCT) Copies the GeoPath leg's parameter list into theaDataSFCT
array.protected double[]
int
getType()
Returns the type of this GeoPath leg.void
setData
(double[] aData) Sets the parameter list of this GeoPath leg.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.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
-
TLcdGeoPathLeg
public TLcdGeoPathLeg() -
TLcdGeoPathLeg
public TLcdGeoPathLeg(int aType)
-
-
Method Details
-
setData
public void setData(double[] aData) Description copied from interface:ILcdEditableGeoPathLeg
Sets the parameter list of this GeoPath leg. See theILcdGeoPathLeg
documentation for a description of the contents of this array.- Specified by:
setData
in interfaceILcdEditableGeoPathLeg
- Parameters:
aData
- an array ofdouble
double values
-
getType
public int getType()Description copied from interface:ILcdGeoPathLeg
Returns the type of this GeoPath leg.- Specified by:
getType
in interfaceILcdGeoPathLeg
- Returns:
- one of the constants defined above
-
getDataLength
public int getDataLength()Description copied from interface:ILcdGeoPathLeg
Returns the number of parameters in the leg's data array. UsegetDataSFCT()
to obtain the contents of the parameter list.- Specified by:
getDataLength
in interfaceILcdGeoPathLeg
- Returns:
- the length of the leg's parameter list
-
getDataSFCT
public void getDataSFCT(double[] aDataSFCT) Description copied from interface:ILcdGeoPathLeg
Copies the GeoPath leg's parameter list into theaDataSFCT
array. The array must be sufficiently large! UsegetDataLength()
to determine the required size of the array.- Specified by:
getDataSFCT
in interfaceILcdGeoPathLeg
- Parameters:
aDataSFCT
- will receive the parameter list of this GeoPath leg.
-
getStoredData
protected double[] getStoredData() -
clone
Creates and returns a copy of this object. The parameter list is cloned.- Specified by:
clone
in interfaceILcdCloneable
- Overrides:
clone
in classTLcdAISPoint
- See Also:
-