public class ComposedAttitudeLaw extends AbstractAttitudeLaw implements AttitudeLawModifier
AttitudeFrame
,
AttitudeTransformProvider
,
Serialized FormConstructor and Description |
---|
ComposedAttitudeLaw(AttitudeLaw law,
LinkedList<IOrientationLaw> modifiers)
Builds a composed attitude law from a man attitude law provider and a list of modifier orientation laws.
|
Modifier and Type | Method and Description |
---|---|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
AttitudeLaw |
getUnderlyingAttitudeLaw()
Get the underlying attitude law.
|
getAttitude, getSpinDerivativesComputation, setSpinDerivativesComputation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttitude, setSpinDerivativesComputation
public ComposedAttitudeLaw(AttitudeLaw law, LinkedList<IOrientationLaw> modifiers)
law
- the main attitude lawmodifiers
- the orientation lawspublic AttitudeLaw getUnderlyingAttitudeLaw()
getUnderlyingAttitudeLaw
in interface AttitudeLawModifier
public Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
getAttitude
in interface AttitudeProvider
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computedPatriusException
- if attitude cannot be computedCopyright © 2019 CNES. All rights reserved.