org.orekit.utils
Class CardanMountPosition

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

public final class CardanMountPosition
extends Object
implements Position

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

Cardan mount (position)

Concurrency :
immutable

Field Summary
static CardanMountPosition ZERO
          Fixed position at origin (p is zero vector).
 
Constructor Summary
CardanMountPosition(double xAngle, double yAngle, double range)
          Build Cardan mount.
 
Method Summary
 Vector3D getPosition()
          Gets the position.
 double getRange()
          Get the range.
 double getXangle()
          Get the x angle.
 double getYangle()
          Get the y angle.
 String toString()
          Produces the following String representation of the Cardan mount : (x angle, y angle, range).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ZERO

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

Constructor Detail

CardanMountPosition

public CardanMountPosition(double xAngle,
                           double yAngle,
                           double range)
Build Cardan mount.

Parameters:
xAngle - angle of rotation around the local North axis counted clockwise from the zenith and expressed in radian (between -PI and PI)
yAngle - angle of rotation around y' axis (image of the West axis by the previous rotation) counted clockwise from the y' axis and expressed in radian (between -PI/2 and PI/2)
range - distance from the origin of the topocentric frame
Method Detail

getXangle

public double getXangle()
Get the x angle.

Returns:
x angle

getYangle

public double getYangle()
Get the y angle.

Returns:
y 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 Cardan mount : (x angle, y angle, range).

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


Copyright © 2017 CNES. All Rights Reserved.