public class AttitudeLegLaw extends Object implements AttitudeLaw
Constructor and Description |
---|
AttitudeLegLaw(AttitudeLaw attitudelawBefore,
AttitudeLeg attitudeleg,
AttitudeLaw attitudelawAfter)
Build an attitude law version "attitudeLeg".
|
Modifier and Type | Method and Description |
---|---|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
void |
setSpinDerivativesComputation(boolean computeSpinDerivatives)
Method to activate spin derivative computation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
computeSpinByFD, computeSpinDerivativeByFD, getAttitude
public AttitudeLegLaw(AttitudeLaw attitudelawBefore, AttitudeLeg attitudeleg, AttitudeLaw attitudelawAfter)
attitudelawBefore
- : law before interval of validityattitudeleg
- : law during interval of validityattitudelawAfter
- : Law after interval of validitypublic 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 datepublic void setSpinDerivativesComputation(boolean computeSpinDerivatives)
Spin derivatives computation applies to lawBefore
, leg
and lawAfter
.
setSpinDerivativesComputation
in interface AttitudeProvider
computeSpinDerivatives
- true if spin derivatives should be computedCopyright © 2023 CNES. All rights reserved.