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.
|
ComposedAttitudeLaw(AttitudeLaw law,
LinkedList<IOrientationLaw> modifiers,
double spinDeltaT)
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.
|
getSpinDerivativesComputation, setSpinDerivativesComputation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
computeSpinByFD, computeSpinDerivativeByFD, getAttitude, setSpinDerivativesComputation
public ComposedAttitudeLaw(AttitudeLaw law, LinkedList<IOrientationLaw> modifiers)
law
- the main attitude lawmodifiers
- the orientation lawspublic ComposedAttitudeLaw(AttitudeLaw law, LinkedList<IOrientationLaw> modifiers, double spinDeltaT)
law
- the main attitude lawmodifiers
- the orientation lawsspinDeltaT
- delta-t used for spin computation by finite differencespublic 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 computed for provided dateCopyright © 2023 CNES. All rights reserved.