org.orekit.attitudes
Class InertialLaw

java.lang.Object
  extended by org.orekit.attitudes.InertialLaw
All Implemented Interfaces:
java.io.Serializable, AttitudeLaw

public class InertialLaw
extends java.lang.Object
implements AttitudeLaw

This class handles an inertial attitude law.

Instances of this class are guaranteed to be immutable.

Version:
$Revision:1665 $ $Date:2008-06-11 12:12:59 +0200 (mer., 11 juin 2008) $
Author:
Luc Maisonobe
See Also:
Serialized Form

Field Summary
static InertialLaw EME2000_ALIGNED
          Dummy attitude law, perfectly aligned with the EME2000 frame.
 
Constructor Summary
InertialLaw(org.apache.commons.math.geometry.Rotation rotation)
          Creates new instance.
 
Method Summary
 Attitude getAttitude(Orbit orbit)
          Compute the attitude corresponding to an orbital state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EME2000_ALIGNED

public static final InertialLaw EME2000_ALIGNED
Dummy attitude law, perfectly aligned with the EME2000 frame.

Constructor Detail

InertialLaw

public InertialLaw(org.apache.commons.math.geometry.Rotation rotation)
Creates new instance.

Parameters:
rotation - rotation from EME2000 to the desired satellite frame
Method Detail

getAttitude

public Attitude getAttitude(Orbit orbit)
                     throws OrekitException
Compute the attitude corresponding to an orbital state.

Specified by:
getAttitude in interface AttitudeLaw
Parameters:
orbit - orbit state for which attitude is requested
Returns:
attitude attitude on the specified orbit, using orbit inertial frame as its reference frame
Throws:
OrekitException - if attitude cannot be computed


Copyright © 2002-2010 CS Communication & Systèmes. All Rights Reserved.