public interface AttitudeLeg extends Leg, AttitudeProvider
Leg
and AttitudeProvider
.Leg
,
AttitudeProvider
Modifier and Type | Field and Description |
---|---|
static String |
LEG_NATURE
Default nature for attitude legs.
|
Modifier and Type | Method and Description |
---|---|
default Vector3D |
computeSpinByFD(PVCoordinatesProvider pvProv,
Frame frame,
AbsoluteDate date,
double computationStep)
Compute the rotation rate vector at a given date by finite differences (using 2nd order centered finite
differences).
|
default Vector3D |
computeSpinDerivativeByFD(PVCoordinatesProvider pvProv,
Frame frame,
AbsoluteDate date,
double computationStep)
Compute the rotation acceleration vector at a given date by finite differences (using 2nd order centered finite
differences).
|
AttitudeLeg |
copy(AbsoluteDateInterval newInterval)
Creates a new leg from this one.
|
contains, getDate, getEnd, getNature, getTimeInterval, toPrettyString
getAttitude, getAttitude, setSpinDerivativesComputation
static final String LEG_NATURE
default Vector3D computeSpinByFD(PVCoordinatesProvider pvProv, Frame frame, AbsoluteDate date, double computationStep) throws PatriusException
Warning: this method calls AttitudeProvider.getAttitude(PVCoordinatesProvider, AbsoluteDate, Frame)
hence it should not
be called by this method.
computeSpinByFD
in interface AttitudeProvider
pvProv
- PV Coordinates Provider.frame
- Frame of expression of the attitude. The rotation rate will then be relative to this frame.date
- Date at which the rotation rate vector is desired.computationStep
- Computation step used for the finite differences (in seconds).PatriusException
- When the attitude cannot be computeddefault Vector3D computeSpinDerivativeByFD(PVCoordinatesProvider pvProv, Frame frame, AbsoluteDate date, double computationStep) throws PatriusException
Warning: this method calls AttitudeProvider.getAttitude(PVCoordinatesProvider, AbsoluteDate, Frame)
hence it should not
be called by this method.
computeSpinDerivativeByFD
in interface AttitudeProvider
pvProv
- PV Coordinates Provider.frame
- Frame of expression of the attitude. The rotation acceleration will then be relative to this frame.date
- Date at which the rotation acceleration vector is desired.computationStep
- Computation step used for the finite differences (in seconds).PatriusException
- When the attitude cannot be computedAttitudeLeg copy(AbsoluteDateInterval newInterval)
Copyright © 2023 CNES. All rights reserved.