org.orekit.attitudes
public class TabulatedProvider extends Object implements AttitudeProvider
Instances of this class are guaranteed to be immutable.
Constructor and Description |
---|
TabulatedProvider(List<Attitude> table,
int n,
boolean useRotationRate)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
public TabulatedProvider(List<Attitude> table, int n, boolean useRotationRate)
table
- tabulated attitudesn
- number of attitude to use for interpolationuseRotationRate
- if true, rotation rate from the tables are used in
the interpolation, ortherwise rates present in the table are ignored
and rate is reconstructed from the rotation angles onlypublic Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws OrekitException
getAttitude
in interface AttitudeProvider
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computedOrekitException
- if attitude cannot be computedCopyright © 2002–2015 CS Syst?mes d'Information. All rights reserved.