public class LLLN extends CoordinateSystem
A local-level, local north CoordinateSystem
, positioned at a given point relative to the datum. This Z axis of this coordinate system is perpendicular to the ellipsoid at this coordinate system’s origin. The X axis points to a given azimuth from the north.
Modifier and Type | Field and Description |
---|---|
protected TransformMatrix3 |
ecfToLlln |
rightGrid
Constructor and Description |
---|
LLLN(Datum datum,
ECEFLocation origin,
double angleFromNorth,
boolean rightHandedGrid)
Constructs a new
LLLN . |
LLLN(Datum datum,
GeoLocation origin,
double angleFromNorth,
boolean rightHandedGrid)
Constructs a new
LLLN . |
Modifier and Type | Method and Description |
---|---|
Matrix |
fromECEF(Matrix ecf) |
void |
fromECEF(Vector3 ecf,
Vector3 res)
Converts a non-location vector from ECEF coordinates to this coordinate system.
|
void |
fromECEFLocation(Vector3 ecf,
Vector3 res)
Converts a location vector from ECEF coordinates to this coordinate system.
|
TransformMatrix3 |
getFromECEF() |
ECEFLocation |
getOrigin()
The origin of this coordinate system relative to the datum in ECEF coordinates
|
GeoLocation |
getOriginGeo()
The origin of this coordinate system relative to the datum
|
Matrix |
toECEF(Matrix llln) |
void |
toECEF(Vector3 vector,
Vector3 res)
Converts a non-location vector from this coordinate system to ECEF.
|
void |
toECEFLocation(Vector3 llln,
Vector3 ecf)
Converts a location vector from this coordinate system to ECEF.
|
protected TransformMatrix3 ecfToLlln
public LLLN(Datum datum, GeoLocation origin, double angleFromNorth, boolean rightHandedGrid)
Constructs a new LLLN
.
datum
- the datumorigin
- the origin of this grid relative to the datumangleFromNorth
- angle from the north of the X axis, in radiansrightHandedGrid
- whether this is a right-handed system.public LLLN(Datum datum, ECEFLocation origin, double angleFromNorth, boolean rightHandedGrid)
Constructs a new LLLN
.
datum
- the datumorigin
- the origin of this grid relative to the datumangleFromNorth
- angle from the north of the X axis, in radiansrightHandedGrid
- whether this is a right-handed system.public GeoLocation getOriginGeo()
The origin of this coordinate system relative to the datum
public ECEFLocation getOrigin()
The origin of this coordinate system relative to the datum in ECEF coordinates
getOrigin
in class CoordinateSystem
public void fromECEF(Vector3 ecf, Vector3 res)
CoordinateSystem
Converts a non-location vector from ECEF coordinates to this coordinate system. Unlike toECEFLocation
, this method does not translate the vector.
fromECEF
in class CoordinateSystem
ecf
- a non-location vector in ECEF coordinates.res
- a vector into which the result (in this coordinate system) will be written.public void fromECEFLocation(Vector3 ecf, Vector3 res)
CoordinateSystem
Converts a location vector from ECEF coordinates to this coordinate system.
fromECEFLocation
in class CoordinateSystem
ecf
- a location vector in ECEF coordinates.res
- a vector into which the result (in this coordinate system) will be written.public void toECEF(Vector3 vector, Vector3 res)
CoordinateSystem
Converts a non-location vector from this coordinate system to ECEF. Unlike toECEFLocation
, this method does not translate the vector.
toECEF
in class CoordinateSystem
vector
- a non-location vector in this coordinate systemres
- a vector into which the result (in ECEF coordinates) will be written.public void toECEFLocation(Vector3 llln, Vector3 ecf)
CoordinateSystem
Converts a location vector from this coordinate system to ECEF.
toECEFLocation
in class CoordinateSystem
llln
- a location vector in this coordinate systemecf
- a vector into which the result (in ECEF coordinates) will be written.public TransformMatrix3 getFromECEF()