public class GeodeticPoint extends Object implements Serializable
Instance of this class are guaranteed to be immutable.
BodyShape
,
Serialized FormConstructor and Description |
---|
GeodeticPoint(double latitudeIn,
double longitudeIn,
double altitudeIn)
Build a new instance.
|
GeodeticPoint(double latitudeIn,
double longitudeIn,
double altitudeIn,
String nameIn)
Build a new instance.
|
Modifier and Type | Method and Description |
---|---|
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.
|
String |
getName()
Getter for the name of the point.
|
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.
|
String |
toString() |
public GeodeticPoint(double latitudeIn, double longitudeIn, double altitudeIn)
latitudeIn
- of the pointlongitudeIn
- longitude of the pointaltitudeIn
- altitude of the pointpublic GeodeticPoint(double latitudeIn, double longitudeIn, double altitudeIn, String nameIn)
latitudeIn
- of the pointlongitudeIn
- longitude of the pointaltitudeIn
- altitude of the pointnameIn
- name of the pointpublic 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()
public String getName()
Copyright © 2019 CNES. All rights reserved.