org.orekit.frames
SpacecraftState.toTransform()@Deprecated public class SpacecraftFrame extends Frame implements PVCoordinatesProvider
Frame associated to a satellite body, taking into account orbit and attitude.
Use of this frame is not recommended, and it will probably be withdrawn in a future version.
In many cases, rather than using this frame and its getTransformTo method, users should directly get a Transform using
SpacecraftState.toTransform().
Note that despite it extends Frame, this frame is NOT serializable,
as it relies on Propagator.
| Constructor and Description |
|---|
SpacecraftFrame(Propagator propagator,
String name)
Deprecated.
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Propagator |
getPropagator()
Deprecated.
Get the underlying propagator.
|
PVCoordinates |
getPVCoordinates(AbsoluteDate date,
Frame frame)
Deprecated.
Get the
PVCoordinates of the spacecraft frame origin in the selected frame. |
getAncestor, getDepth, getFrozenFrame, getName, getParent, getRoot, getTransformProvider, getTransformTo, isChildOf, isPseudoInertial, isQuasiInertial, toStringpublic SpacecraftFrame(Propagator propagator, String name)
propagator - orbit/attitude propagator computing spacecraft state evolutionname - name of the framepublic Propagator getPropagator()
public PVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame) throws OrekitException
PVCoordinates of the spacecraft frame origin in the selected frame.getPVCoordinates in interface PVCoordinatesProviderdate - current dateframe - the frame where to define the positionOrekitException - if position cannot be computed in given frameCopyright © 2002–2015 CS Syst?mes d'Information. All rights reserved.