fr.cnes.sirius.patrius.utils
Class AlmanacPVCoordinates

java.lang.Object
  extended by fr.cnes.sirius.patrius.utils.AlmanacPVCoordinates
All Implemented Interfaces:
PVCoordinatesProvider

public class AlmanacPVCoordinates
extends Object
implements PVCoordinatesProvider

This class implements the PVCoordinatesProvider to compute position velocity of a GPS or Galileo constellation satellite from its almanac parameters.

Since:
3.1
Version:
$Id: AlmanacPVCoordinates.java 16763 2016-10-10 09:31:17Z bignon $
Author:
chabaudp
Concurrency :
immutable

Constructor Summary
AlmanacPVCoordinates(AlmanacParameter parameters, int cycle, double mu, double rotationRate)
          Creates an instance of AlmanacPVCoordinates.
 
Method Summary
 PVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame)
          Geometric computation of the position to a date.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlmanacPVCoordinates

public AlmanacPVCoordinates(AlmanacParameter parameters,
                            int cycle,
                            double mu,
                            double rotationRate)
Creates an instance of AlmanacPVCoordinates.

Parameters:
parameters - Almanac parameters
cycle - number of cycles
mu - earth's gravitational constant
rotationRate - earth's rotation rate
Since:
3.1
Method Detail

getPVCoordinates

public PVCoordinates getPVCoordinates(AbsoluteDate date,
                                      Frame frame)
                               throws OrekitException
Geometric computation of the position to a date. Computes a finite difference between position at date minus step and position at date plus step. If Input frame is null, results are expressed in WGS84.

Specified by:
getPVCoordinates in interface PVCoordinatesProvider
Parameters:
date - Date to compute coordinates
frame - Results expression frame.
Returns:
position velocity coordinates at input date in frame
Throws:
OrekitException - if input frame is different from WGS84 and configuration has not been defined
See Also:
PVCoordinatesProvider.getPVCoordinates( org.orekit.time.AbsoluteDate, org.orekit.frames.Frame)


Copyright © 2016 CNES. All Rights Reserved.