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 17582 2017-05-10 12:58:16Z bignon $
- 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 © 2017 CNES. All Rights Reserved.