public class TLcdGeoPathLeg extends TLcdAISPoint implements ILcdEditableGeoPathLeg
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.TLcdAISPoint
,
Serialized FormARC, ARC_BY_EDGE, CIRCLE_POINT, CIRCLE_RADIUS, GEODESIC_LINE, POINT, RHUMB_LINE, SUB_POINT_LIST
Constructor and Description |
---|
TLcdGeoPathLeg() |
TLcdGeoPathLeg(int aType) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates and returns a copy of this object.
|
int |
getDataLength()
Returns the number of parameters in the leg's data array.
|
void |
getDataSFCT(double[] aDataSFCT)
Copies the GeoPath leg's parameter list into the
aDataSFCT array. |
protected double[] |
getStoredData() |
int |
getType()
Returns the type of this GeoPath leg.
|
void |
setData(double[] aData)
Sets the parameter list of this GeoPath leg.
|
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
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
cloneAs2DEditablePoint, cloneAs3DEditablePoint, equals, getCosX, getCosY, getSinX, getSinY, getTanX, getTanY, getX, getY, getZ
move3D, move3D, translate3D
move2D, move2D, translate2D
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
public TLcdGeoPathLeg()
public TLcdGeoPathLeg(int aType)
public void setData(double[] aData)
ILcdEditableGeoPathLeg
ILcdGeoPathLeg
documentation for a description of the contents of this array.setData
in interface ILcdEditableGeoPathLeg
aData
- an array of double
double valuespublic int getType()
ILcdGeoPathLeg
getType
in interface ILcdGeoPathLeg
public int getDataLength()
ILcdGeoPathLeg
getDataSFCT()
to obtain the contents of the parameter list.getDataLength
in interface ILcdGeoPathLeg
public void getDataSFCT(double[] aDataSFCT)
ILcdGeoPathLeg
aDataSFCT
array.
The array must be sufficiently large! Use getDataLength()
to
determine the required size of the array.getDataSFCT
in interface ILcdGeoPathLeg
aDataSFCT
- will receive the parameter list of this GeoPath leg.protected double[] getStoredData()
public Object clone()
clone
in interface ILcdCloneable
clone
in class TLcdAISPoint
Object.clone()