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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates and returns a copy of this object.intReturns the number of parameters in the leg's data array.voidgetDataSFCT(double[] aDataSFCT) Copies the GeoPath leg's parameter list into theaDataSFCTarray.protected double[]intgetType()Returns the type of this GeoPath leg.voidsetData(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, 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.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
-
TLcdGeoPathLeg
public TLcdGeoPathLeg() -
TLcdGeoPathLeg
public TLcdGeoPathLeg(int aType)
-
-
Method Details
-
setData
public void setData(double[] aData) Description copied from interface:ILcdEditableGeoPathLegSets the parameter list of this GeoPath leg. See theILcdGeoPathLegdocumentation for a description of the contents of this array.- Specified by:
setDatain interfaceILcdEditableGeoPathLeg- Parameters:
aData- an array ofdoubledouble values
-
getType
public int getType()Description copied from interface:ILcdGeoPathLegReturns the type of this GeoPath leg.- Specified by:
getTypein interfaceILcdGeoPathLeg- Returns:
- one of the constants defined above
-
getDataLength
public int getDataLength()Description copied from interface:ILcdGeoPathLegReturns the number of parameters in the leg's data array. UsegetDataSFCT()to obtain the contents of the parameter list.- Specified by:
getDataLengthin interfaceILcdGeoPathLeg- Returns:
- the length of the leg's parameter list
-
getDataSFCT
public void getDataSFCT(double[] aDataSFCT) Description copied from interface:ILcdGeoPathLegCopies the GeoPath leg's parameter list into theaDataSFCTarray. The array must be sufficiently large! UsegetDataLength()to determine the required size of the array.- Specified by:
getDataSFCTin 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:
clonein interfaceILcdCloneable- Overrides:
clonein classTLcdAISPoint- See Also:
-