public final class TabulatedSlew extends TabulatedAttitude implements Slew
This class represents a tabulated slew.
DEFAULT_INTERP_ORDER
Constructor and Description |
---|
TabulatedSlew(List<Attitude> inAttitudes)
Constructor with default number N of points used for interpolation.
|
TabulatedSlew(List<Attitude> inAttitudes,
int nbInterpolationPoints)
Constructor with number of points used for interpolation
|
TabulatedSlew(List<Attitude> inAttitudes,
int nbInterpolationPoints,
String natureIn)
Constructor with number of points used for interpolation
|
TabulatedSlew(List<Attitude> inAttitudes,
String natureIn)
Constructor with default number N of points used for interpolation.
|
Modifier and Type | Method and Description |
---|---|
void |
compute(PVCoordinatesProvider pvProv)
Compute the slew corresponding to an orbital state.
|
Attitude |
getAttitude(AbsoluteDate date,
Frame frame)
Compute the attitude.
|
Attitude |
getAttitude(PVCoordinatesProvider pvProvider,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
Vector3D |
getSpinDerivatives(AbsoluteDate date,
Frame frame)
Get spin derivatives.
|
getAttitude, getAttitudes, getDurations, getNature, getTimeInterval, isSpinDerivativesComputation, setSpinDerivativesComputation, setTimeInterval, truncate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttitude, setSpinDerivativesComputation
getNature, getTimeInterval, toPrettyString, truncate
public TabulatedSlew(List<Attitude> inAttitudes) throws PatriusException
inAttitudes
- the list of attitudes. WARNING : these attitudes must be ordered.PatriusException
- if the number of point is too small for interpolatingpublic TabulatedSlew(List<Attitude> inAttitudes, int nbInterpolationPoints) throws PatriusException
inAttitudes
- the list of attitudes. WARNING : these attitudes must be ordered.nbInterpolationPoints
- number of points used for interpolationPatriusException
- if the number of point is too small for interpolatingpublic TabulatedSlew(List<Attitude> inAttitudes, String natureIn) throws PatriusException
inAttitudes
- the list of attitudes. WARNING : these attitudes must be ordered.natureIn
- leg naturePatriusException
- if the number of point is too small for interpolatingpublic TabulatedSlew(List<Attitude> inAttitudes, int nbInterpolationPoints, String natureIn) throws PatriusException
inAttitudes
- the list of attitudes. WARNING : these attitudes must be ordered.nbInterpolationPoints
- number of points used for interpolationnatureIn
- leg naturePatriusException
- if the number of point is too small for interpolatingpublic void compute(PVCoordinatesProvider pvProv) throws PatriusException
compute
in interface Slew
pvProv
- : local position-velocity provider around current datePatriusException
- orekit exceptionpublic Attitude getAttitude(AbsoluteDate date, Frame frame) throws PatriusException
getAttitude
in interface Slew
date
- : current dateframe
- : reference frame from which attitude is computedPatriusException
- orekit exceptionpublic Attitude getAttitude(PVCoordinatesProvider pvProvider, AbsoluteDate date, Frame frame) throws PatriusException
pvProvider is unused since slew has been computed beforehand.
getAttitude
in interface AttitudeProvider
getAttitude
in class TabulatedAttitude
pvProvider
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computedPatriusException
- if attitude cannot be computedpublic Vector3D getSpinDerivatives(AbsoluteDate date, Frame frame) throws PatriusException
date
- the date to compute derivative of spinframe
- reference frame from which derivative of spin is computedPatriusException
- if spin derivative cannot be computedCopyright © 2021 CNES. All rights reserved.