public interface OrientationAngleProvider extends Serializable
| Modifier and Type | Method and Description |
|---|---|
static OrientationAngleProvider |
build(UnivariateDateFunction function)
Build an
OrientationAngleProvider from this. |
default double |
computeSpinByFD(PVCoordinatesProvider pvProv,
AbsoluteDate date,
double computationStep)
Compute the orientation derivative at a given date by finite differences (using 2nd order centered finite
differences).
|
default double |
computeSpinDerivativeByFD(PVCoordinatesProvider pvProv,
AbsoluteDate date,
double computationStep)
Compute the orientation acceleration vector at a given date by finite differences
(using 2nd order centered finite differences).
|
static double |
computeSpinNumerical(double angle1,
double angle2,
double step)
Computes the spin as a finite difference given two angles and the computation step between them.
|
Double |
getOrientationAngle(PVCoordinatesProvider pvProv,
AbsoluteDate date)
Compute the orientation angle corresponding to an orbital state.
|
Double getOrientationAngle(PVCoordinatesProvider pvProv, AbsoluteDate date) throws PatriusException
pvProv - position-velocity provider around current datedate - datePatriusException - thrown if the angle cannot be computeddefault double computeSpinByFD(PVCoordinatesProvider pvProv, AbsoluteDate date, double computationStep) throws PatriusException
pvProv - PV Coordinates Provider.date - Date at which the orientation derivative is desired.computationStep - Computation step used for the finite differences (in seconds).PatriusException - When the orientation cannot be computeddefault double computeSpinDerivativeByFD(PVCoordinatesProvider pvProv, AbsoluteDate date, double computationStep) throws PatriusException
pvProv - PV Coordinates Provider.date - Date at which the orientation acceleration is desired.computationStep - Computation step used for the finite differences (in seconds).PatriusException - When the orientation cannot be computedstatic double computeSpinNumerical(double angle1,
double angle2,
double step)
WARNING : It is considered that the difference between the two angle points used for the finite difference spin computation is never larger than π in the sense of the rotation
angle1 - Angle at t1angle2 - Angle at t2step - Computation step, elapsed time between t1 and t2static OrientationAngleProvider build(UnivariateDateFunction function)
OrientationAngleProvider from this.function - input functionCopyright © 2025 CNES. All rights reserved.