org.orekit.frames
Class SpacecraftFrame

java.lang.Object
  extended by org.orekit.frames.Frame
      extended by org.orekit.frames.SpacecraftFrame
All Implemented Interfaces:
Serializable, PVCoordinatesProvider

Deprecated. as of 6.0 replaced by SpacecraftState.toTransform()

@Deprecated
public class SpacecraftFrame
extends Frame
implements PVCoordinatesProvider

Spacecraft frame.

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.

Author:
Luc Maisonobe
See Also:
Serialized Form

Constructor Summary
SpacecraftFrame(Propagator propagator, String name)
          Deprecated. Simple constructor.
 
Method Summary
 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.
 
Methods inherited from class org.orekit.frames.Frame
getAncestor, getDepth, getFrozenFrame, getName, getParent, getRoot, getTransformJacobian, getTransformProvider, getTransformTo, getTransformTo, getTransformTo, getTransformTo, isChildOf, isPseudoInertial, isQuasiInertial, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpacecraftFrame

public SpacecraftFrame(Propagator propagator,
                       String name)
Deprecated. 
Simple constructor.

Parameters:
propagator - orbit/attitude propagator computing spacecraft state evolution
name - name of the frame
Method Detail

getPropagator

public Propagator getPropagator()
Deprecated. 
Get the underlying propagator.

Returns:
underlying propagator

getPVCoordinates

public PVCoordinates getPVCoordinates(AbsoluteDate date,
                                      Frame frame)
                               throws OrekitException
Deprecated. 
Get the PVCoordinates of the spacecraft frame origin in the selected frame.

Specified by:
getPVCoordinates in interface PVCoordinatesProvider
Parameters:
date - current date
frame - the frame where to define the position
Returns:
position/velocity of the spacecraft frame origin (m and m/s)
Throws:
OrekitException - if position cannot be computed in given frame


Copyright © 2017 CNES. All Rights Reserved.