public interface AttitudeProvider extends Serializable
An attitude provider provides a way to compute an Attitude
from an date and position-velocity local
provider.
Modifier and Type | Method and Description |
---|---|
Attitude |
getAttitude(Orbit orbit)
Compute the attitude corresponding to an orbital state.
|
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.
|
Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computedPatriusException
- if attitude cannot be computedAttitude getAttitude(Orbit orbit) throws PatriusException
orbit
- current orbitPatriusException
- if attitude cannot be computedvoid setSpinDerivativesComputation(boolean computeSpinDerivatives) throws PatriusException
computeSpinDerivatives
- true if spin derivatives should be computedPatriusException
- if spin derivatives can not be computedCopyright © 2021 CNES. All rights reserved.