org.orekit.propagation
Class Ephemeris

java.lang.Object
  extended by org.orekit.propagation.Ephemeris
All Implemented Interfaces:
java.io.Serializable, BasicPropagator, BoundedPropagator, PVCoordinatesProvider

public class Ephemeris
extends java.lang.Object
implements BoundedPropagator

This class is designed to accept and handle tabulated orbital entries. Tabulated entries are classified and then extrapolated in way to obtain continuous output, with accuracy and computation methods configured by the user.

Version:
$Revision: 3194 $ $Date: 2010-04-22 18:06:37 +0200 (jeu. 22 avril 2010) $
Author:
Fabien Maussion, Véronique Pommier-Maurussane
See Also:
Serialized Form

Constructor Summary
Ephemeris(SpacecraftState[] tabulatedStates)
          Constructor with tabulated entries.
 
Method Summary
 AbsoluteDate getMaxDate()
          Get the last date of the range.
 AbsoluteDate getMinDate()
          Get the first date of the range.
 PVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame)
          Get the PVCoordinates of the body in the selected frame.
 SpacecraftState propagate(AbsoluteDate date)
          Propagate towards a target date.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ephemeris

public Ephemeris(SpacecraftState[] tabulatedStates)
Constructor with tabulated entries.

Parameters:
tabulatedStates - states table
Method Detail

getMinDate

public AbsoluteDate getMinDate()
Get the first date of the range.

Specified by:
getMinDate in interface BoundedPropagator
Returns:
the first date of the range

getMaxDate

public AbsoluteDate getMaxDate()
Get the last date of the range.

Specified by:
getMaxDate in interface BoundedPropagator
Returns:
the last date of the range

propagate

public SpacecraftState propagate(AbsoluteDate date)
Propagate towards a target date.

Simple propagators use only the target date as the specification for computing the propagated state. More feature rich propagators like the ones implemented the extended interface Propagator can consider other information and provide different operating modes or G-stop facilities to stop at pinpointed events occurrences. In these cases, the target date is only a hint, not a mandatory objective.

Specified by:
propagate in interface BasicPropagator
Parameters:
date - target date towards which orbit state should be propagated
Returns:
propagated state

getPVCoordinates

public PVCoordinates getPVCoordinates(AbsoluteDate date,
                                      Frame frame)
                               throws OrekitException
Get the PVCoordinates of the body 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 body (m and m/s)
Throws:
OrekitException - if position cannot be computed in given frame


Copyright © 2002-2010 CS Communication & Systèmes. All Rights Reserved.