org.orekit.bodies
Class GeodeticPoint

java.lang.Object
  extended by org.orekit.bodies.GeodeticPoint
All Implemented Interfaces:
Serializable

public class GeodeticPoint
extends Object
implements Serializable

Point location relative to a 2D body surface.

Instance of this class are guaranteed to be immutable.

Author:
Luc Maisonobe
See Also:
BodyShape, Serialized Form

Constructor Summary
GeodeticPoint(double latitude, double longitude, double altitude)
          Build a new instance.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeodeticPoint

public GeodeticPoint(double latitude,
                     double longitude,
                     double altitude)
Build a new instance.

Parameters:
latitude - of the point
longitude - longitude of the point
altitude - altitude of the point
Method Detail

getLatitude

public double getLatitude()
Get the latitude.

Returns:
latitude

getLongitude

public double getLongitude()
Get the longitude.

Returns:
longitude

getAltitude

public double getAltitude()
Get the altitude.

Returns:
altitude

getZenith

public Vector3D getZenith()
Get the direction above the point, expressed in parent shape frame.

The zenith direction is defined as the normal to local horizontal plane.

Returns:
unit vector in the zenith direction
See Also:
getNadir()

getNadir

public Vector3D getNadir()
Get the direction below the point, expressed in parent shape frame.

The nadir direction is the opposite of zenith direction.

Returns:
unit vector in the nadir direction
See Also:
getZenith()

getNorth

public Vector3D getNorth()
Get the direction to the north of point, expressed in parent shape frame.

The north direction is defined in the horizontal plane (normal to zenith direction) and following the local meridian.

Returns:
unit vector in the north direction
See Also:
getSouth()

getSouth

public Vector3D getSouth()
Get the direction to the south of point, expressed in parent shape frame.

The south direction is the opposite of north direction.

Returns:
unit vector in the south direction
See Also:
getNorth()

getEast

public Vector3D getEast()
Get the direction to the east of point, expressed in parent shape frame.

The east direction is defined in the horizontal plane in order to complete direct triangle (east, north, zenith).

Returns:
unit vector in the east direction
See Also:
getWest()

getWest

public Vector3D getWest()
Get the direction to the west of point, expressed in parent shape frame.

The west direction is the opposite of east direction.

Returns:
unit vector in the west direction
See Also:
getEast()


Copyright © 2017 CNES. All Rights Reserved.