org.orekit.utils
Class TopocentricPosition

java.lang.Object
  extended by org.orekit.utils.TopocentricPosition
All Implemented Interfaces:
Serializable, Position

public final class TopocentricPosition
extends Object
implements Position

Since:
1.0
Version:
$Id: TopocentricPosition.java 17602 2017-05-18 08:25:23Z bignon $
Author:
Julie Anton
See Also:
Serialized Form
Description :

Topocentric position coordinates

Concurrency :
immutable

Field Summary
static TopocentricPosition ZERO
          Fixed position at origin (p is zero vector).
 
Constructor Summary
TopocentricPosition(double elevation, double azimuth, double range)
          Build topocentic coordinates.
 
Method Summary
 double getAzimuth()
          Get the azimuth angle.
 double getElevation()
          Get the elevation angle.
 Vector3D getPosition()
          Gets the position.
 double getRange()
          Get the range.
 String toString()
          Produces the following String representation of the topocentric coordinates : (elevation, azimuth, range).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ZERO

public static final TopocentricPosition ZERO
Fixed position at origin (p is zero vector).

Constructor Detail

TopocentricPosition

public TopocentricPosition(double elevation,
                           double azimuth,
                           double range)
Build topocentic coordinates. To be consistent with the TopocentricFrame, the convention concerning the azimuth is the same ie azimuth angles are counted clockwise from the local North.

Parameters:
elevation - elevation angle in radian (between -PI/2 and PI/2)
azimuth - azimuth angle in radian (between 0 and 2PI)
range - distance from the origin of the topocentric frame
Method Detail

getElevation

public double getElevation()
Get the elevation angle.

Returns:
elevation angle

getAzimuth

public double getAzimuth()
Get the azimuth angle.

Returns:
azimuth angle

getRange

public double getRange()
Get the range.

Returns:
the range

getPosition

public Vector3D getPosition()
Description copied from interface: Position
Gets the position.

Specified by:
getPosition in interface Position
Returns:
the position vector.

toString

public String toString()
Produces the following String representation of the topocentric coordinates : (elevation, azimuth, range).

Overrides:
toString in class Object
Returns:
string representation of this position
See Also:
Object.toString()


Copyright © 2017 CNES. All Rights Reserved.