public class GeodeticPoint extends Object implements Serializable
Instance of this class are guaranteed to be immutable.
BodyShape
,
FieldGeodeticPoint
,
Serialized FormModifier and Type | Field and Description |
---|---|
static GeodeticPoint |
NORTH_POLE
North pole.
|
static GeodeticPoint |
SOUTH_POLE
South pole.
|
Constructor and Description |
---|
GeodeticPoint(double latitude,
double longitude,
double altitude)
Build a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
double |
getAltitude()
Get the altitude.
|
Vector3D |
getEast()
Get the direction to the east of point, expressed in parent shape frame.
|
double |
getLatitude()
Get the latitude.
|
double |
getLongitude()
Get the longitude.
|
Vector3D |
getNadir()
Get the direction below the point, expressed in parent shape frame.
|
Vector3D |
getNorth()
Get the direction to the north of point, expressed in parent shape frame.
|
Vector3D |
getSouth()
Get the direction to the south of point, expressed in parent shape frame.
|
Vector3D |
getWest()
Get the direction to the west of point, expressed in parent shape frame.
|
Vector3D |
getZenith()
Get the direction above the point, expressed in parent shape frame.
|
int |
hashCode() |
String |
toString() |
public static final GeodeticPoint NORTH_POLE
public static final GeodeticPoint SOUTH_POLE
public GeodeticPoint(double latitude, double longitude, double altitude)
latitude
- latitude of the point (rad)longitude
- longitude of the point (rad)altitude
- altitude of the point (m)public double getLatitude()
public double getLongitude()
public double getAltitude()
public Vector3D getZenith()
The zenith direction is defined as the normal to local horizontal plane.
getNadir()
public Vector3D getNadir()
The nadir direction is the opposite of zenith direction.
getZenith()
public Vector3D getNorth()
The north direction is defined in the horizontal plane (normal to zenith direction) and following the local meridian.
getSouth()
public Vector3D getSouth()
The south direction is the opposite of north direction.
getNorth()
public Vector3D getEast()
The east direction is defined in the horizontal plane in order to complete direct triangle (east, north, zenith).
getWest()
public Vector3D getWest()
The west direction is the opposite of east direction.
getEast()
Copyright © 2002-2019 CS Systèmes d'information. All rights reserved.