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 13175 2015-05-06 13:44:38Z trapier $
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 © 2016 CNES. All Rights Reserved.