equip.position
Class GeoPositionGdcImpl
java.lang.Object
|
+--equip.runtime.Object
|
+--equip.runtime.ValueBase
|
+--equip.position.GeoPosition
|
+--equip.position.GeoPositionGdc
|
+--equip.position.GeoPositionGdcImpl
- All Implemented Interfaces:
- java.lang.Cloneable
- public class GeoPositionGdcImpl
- extends GeoPositionGdc
|
Method Summary |
int |
getEllipsoid()
|
int |
getGeoSystem()
virtual - defined in base classes |
Quaternion3D |
getLocalRotation()
returns the rotation that must be applied
to rotate a non-geo-referenced local coordinate system
(with +x to the right, +y up and +z out of the screen)
to the corresponding geo-referenced position of this object
such that +x is east, +y is normal to the tangent of the
ellipsoid at this point (x,y,z) (i.e. up), and -z is towards
the north pole.
|
void |
setEllipsoid(int ellipsoid)
you really should set the ellipsoid this way (updates internal
state) |
void |
setFromGeoPositionGcc(GeoPositionGcc gccpos)
set from GCC position |
GeoPositionGcc |
toGcc()
convert to GCC |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WGS84_a
static final double WGS84_a
- See Also:
- Constant Field Values
WGS84_f
static final double WGS84_f
- See Also:
- Constant Field Values
WGS84_A
static final double WGS84_A
- See Also:
- Constant Field Values
WGS84_F
static final double WGS84_F
- See Also:
- Constant Field Values
WGS84_A2
static final double WGS84_A2
- See Also:
- Constant Field Values
WGS84_C
static final double WGS84_C
- See Also:
- Constant Field Values
WGS84_C2
static final double WGS84_C2
- See Also:
- Constant Field Values
WGS84_Eps2
static final double WGS84_Eps2
- See Also:
- Constant Field Values
WGS84_Eps25
static final double WGS84_Eps25
- See Also:
- Constant Field Values
RADIANS_PER_DEGREE
static final double RADIANS_PER_DEGREE
- See Also:
- Constant Field Values
GeoPositionGdcImpl
public GeoPositionGdcImpl()
setEllipsoid
public void setEllipsoid(int ellipsoid)
- Description copied from class:
GeoPositionGdc
- you really should set the ellipsoid this way (updates internal
state)
- Specified by:
setEllipsoid in class GeoPositionGdc
getEllipsoid
public int getEllipsoid()
- Specified by:
getEllipsoid in class GeoPositionGdc
setFromGeoPositionGcc
public void setFromGeoPositionGcc(GeoPositionGcc gccpos)
- Description copied from class:
GeoPositionGdc
- set from GCC position
- Specified by:
setFromGeoPositionGcc in class GeoPositionGdc
toGcc
public GeoPositionGcc toGcc()
- Description copied from class:
GeoPosition
- convert to GCC
- Specified by:
toGcc in class GeoPosition
getGeoSystem
public int getGeoSystem()
- Description copied from class:
GeoPosition
- virtual - defined in base classes
- Specified by:
getGeoSystem in class GeoPosition
getLocalRotation
public Quaternion3D getLocalRotation()
- Description copied from class:
GeoPosition
- returns the rotation that must be applied
to rotate a non-geo-referenced local coordinate system
(with +x to the right, +y up and +z out of the screen)
to the corresponding geo-referenced position of this object
such that +x is east, +y is normal to the tangent of the
ellipsoid at this point (x,y,z) (i.e. up), and -z is towards
the north pole.
NB only guaranteed to be implemented by GeoPositionGcc
(but might actually be more efficient in Gdc, hence putting
it here).
- Specified by:
getLocalRotation in class GeoPosition