public interface ILcdGeoPathLeg extends ILcdPoint
ILcdGeoPathLeg
is a geometric shape defined by a point and, depending on
the type of the leg, a number of other parameters. Leg types include lines,
circles and polygons.
The extra parameters can be retrieved in an array of double
values using
the getDataSFCT()
method. See below for the
list of parameters associated with each of the leg types.
Modifier and Type | Field and Description |
---|---|
static int |
ARC
An arc which connects the coordinates specified by the current leg to
the end of the next GeoPath leg.
|
static int |
ARC_BY_EDGE
An arc specified by three points.
|
static int |
CIRCLE_POINT
A circle defined by two points.
|
static int |
CIRCLE_RADIUS
A circle defined by its center and radius.
|
static int |
GEODESIC_LINE
A geodesic line which starts at the coordinates specified by the current leg
and ends at the next GeoPath leg.
|
static int |
POINT
The most basic type of GeoPath leg is simply a point, and does not specify
any additional parameters.
|
static int |
RHUMB_LINE
A rhumb line which starts at the coordinates specified by the current leg
and ends at the next GeoPath leg.
|
static int |
SUB_POINT_LIST
A polyline defined by two points and a pointlist.
|
Modifier and Type | Method and Description |
---|---|
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. |
int |
getType()
Returns the type of this GeoPath leg.
|
cloneAs2DEditablePoint, cloneAs3DEditablePoint, equals, getCosX, getCosY, getSinX, getSinY, getTanX, getTanY, getX, getY, getZ
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
clone
static final int POINT
static final int CIRCLE_POINT
A geo-path leg of this type cannot be combined with other geo-path legs. It must be the only leg in the path (which consequently determines a circle).
static final int CIRCLE_RADIUS
A geo-path leg of this type cannot be combined with other geo-path legs. It must be the only leg in the path (which consequently determines a circle).
static final int GEODESIC_LINE
static final int RHUMB_LINE
static final int ARC
static final int ARC_BY_EDGE
static final int SUB_POINT_LIST
int getType()
int getDataLength()
getDataSFCT()
to obtain the contents of the parameter list.void getDataSFCT(double[] aDataSFCT)
aDataSFCT
array.
The array must be sufficiently large! Use getDataLength()
to
determine the required size of the array.aDataSFCT
- will receive the parameter list of this GeoPath leg.