org.orekit.attitudes
Class AttitudeTransformProvider

java.lang.Object
  extended by org.orekit.attitudes.AttitudeTransformProvider
All Implemented Interfaces:
Serializable, TransformProvider

public class AttitudeTransformProvider
extends Object
implements TransformProvider

This class is a TransformProvider for AttitudeFrame; it provides, for a given date, the transformation corresponding to the spacecraft reference frame orientation with respect to the parent frame.

Since:
1.2
Version:
$Id$
Author:
tournebizej
See Also:
AttitudeFrame, Serialized Form
Concurrency :
conditionally thread-safe
Concurrency comment :
is thread-safe if all attributes are.

Constructor Summary
protected AttitudeTransformProvider(AttitudeLaw law, PVCoordinatesProvider pv, Frame frame)
          Protected constructor.
 
Method Summary
 Transform getTransform(AbsoluteDate date)
          Get the Transform corresponding to specified date.
 Transform getTransform(AbsoluteDate date, boolean computeSpinDerivatives)
          Get the Transform corresponding to specified date.
 Transform getTransform(AbsoluteDate date, FramesConfiguration config)
          Get the Transform corresponding to specified date.
 Transform getTransform(AbsoluteDate date, FramesConfiguration config, boolean computeSpinDerivatives)
          Get the Transform corresponding to specified date.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttitudeTransformProvider

protected AttitudeTransformProvider(AttitudeLaw law,
                                    PVCoordinatesProvider pv,
                                    Frame frame)
Protected constructor.

Parameters:
law - the attitude law from which the transformation with respect to a parent frame is computed.
pv - the PV coordinates provider.
frame - the parent frame.
Method Detail

getTransform

public Transform getTransform(AbsoluteDate date,
                              boolean computeSpinDerivatives)
                       throws OrekitException
Get the Transform corresponding to specified date.

Specified by:
getTransform in interface TransformProvider
Parameters:
date - current date
computeSpinDerivatives - true if spin derivatives should be computed. If not, spin derivative is set to null
Returns:
transform at specified date
Throws:
OrekitException - if transform cannot be computed at given date

getTransform

public Transform getTransform(AbsoluteDate date)
                       throws OrekitException
Get the Transform corresponding to specified date.

Warning: spin derivative is not computed.

Specified by:
getTransform in interface TransformProvider
Parameters:
date - current date
Returns:
transform at specified date
Throws:
OrekitException - if transform cannot be computed at given date

getTransform

public Transform getTransform(AbsoluteDate date,
                              FramesConfiguration config)
                       throws OrekitException
Get the Transform corresponding to specified date.

Warning: spin derivative is not computed.

Specified by:
getTransform in interface TransformProvider
Parameters:
date - current date
config - frames configuration to use
Returns:
transform at specified date
Throws:
OrekitException - if transform cannot be computed at given date

getTransform

public Transform getTransform(AbsoluteDate date,
                              FramesConfiguration config,
                              boolean computeSpinDerivatives)
                       throws OrekitException
Get the Transform corresponding to specified date.

Specified by:
getTransform in interface TransformProvider
Parameters:
date - current date
config - frames configuration to use
computeSpinDerivatives - true if spin derivatives should be computed. If not, spin derivative is set to null
Returns:
transform at specified date
Throws:
OrekitException - if transform cannot be computed at given date


Copyright © 2017 CNES. All Rights Reserved.