org.orekit.attitudes
Class DirectionTrackingOrientation

java.lang.Object
  extended by org.orekit.attitudes.DirectionTrackingOrientation
All Implemented Interfaces:
IOrientationLaw

public final class DirectionTrackingOrientation
extends Object
implements IOrientationLaw

Since:
1.2
Version:
$Id: DirectionTrackingOrientation.java 17582 2017-05-10 12:58:16Z bignon $
Author:
Julie Anton
Description :
One direction orientation law. This law has to be used within a composed attitude law as a law modifier.
Concurrency :
conditionally thread safe
Concurrency comment :
the IDirection object has to be thread-safe itself

Constructor Summary
DirectionTrackingOrientation(IDirection direction, Vector3D satelliteAxis, Vector3D satelliteFixedAxis)
          Constructor.
 
Method Summary
 Rotation getOrientation(AbsoluteDate date, Frame frame)
          Gets the rotation defining the orientation with respect to a given frame at a given date.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectionTrackingOrientation

public DirectionTrackingOrientation(IDirection direction,
                                    Vector3D satelliteAxis,
                                    Vector3D satelliteFixedAxis)
Constructor.

Parameters:
direction - : the direction that has to be followed
satelliteAxis - : satellite axis aligned with the first direction
satelliteFixedAxis - : fixed satellite axis that defines the second direction
Method Detail

getOrientation

public Rotation getOrientation(AbsoluteDate date,
                               Frame frame)
                        throws OrekitException
Description copied from interface: IOrientationLaw
Gets the rotation defining the orientation with respect to a given frame at a given date.

Specified by:
getOrientation in interface IOrientationLaw
Parameters:
date - date
frame - frame
Returns:
the orientation
Throws:
OrekitException - if a problem occurs during frames transformations


Copyright © 2017 CNES. All Rights Reserved.