org.orekit.attitudes
Class ComposedAttitudeLaw
java.lang.Object
org.orekit.attitudes.AbstractAttitudeLaw
org.orekit.attitudes.ComposedAttitudeLaw
- All Implemented Interfaces:
- Serializable, AttitudeLaw, AttitudeLawModifier, AttitudeProvider
public class ComposedAttitudeLaw
- extends AbstractAttitudeLaw
- implements AttitudeLawModifier
This class represents a composed attitude law, defined by a main attitude law provider and a chained list of
orientation laws.
The main attitude law provides, for a given date, the dynamic frame representing the spacecraft orientation; this
orientation is then progressively transformed using the orientation laws.
- Since:
- 1.1
- Version:
- $Id: ComposedAttitudeLaw.java 15964 2016-04-28 12:07:11Z galpin $
- Author:
- Julie Anton
- See Also:
AttitudeFrame,
AttitudeTransformProvider,
Serialized Form- Concurrency :
- conditionally thread-safe
- Concurrency comment :
- is thread-safe if the AttitudeLaw attribute is.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComposedAttitudeLaw
public ComposedAttitudeLaw(AttitudeLaw law,
LinkedList<IOrientationLaw> modifiers)
- Builds a composed attitude law from a man attitude law provider and a list of modifier orientation laws.
- Parameters:
law - the main attitude lawmodifiers - the orientation laws
getUnderlyingAttitudeLaw
public AttitudeLaw getUnderlyingAttitudeLaw()
- Description copied from interface:
AttitudeLawModifier
- Get the underlying attitude law.
- Specified by:
getUnderlyingAttitudeLaw in interface AttitudeLawModifier
- Returns:
- underlying attitude law
getAttitude
public Attitude getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
throws OrekitException
- Description copied from interface:
AttitudeProvider
- Compute the attitude corresponding to an orbital state.
- Specified by:
getAttitude in interface AttitudeProvider
- Parameters:
pvProv - local position-velocity provider around current datedate - current dateframe - reference frame from which attitude is computed
- Returns:
- attitude attitude on the specified date and position-velocity state
- Throws:
OrekitException - if attitude cannot be computed
Copyright © 2016 CNES. All Rights Reserved.