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.
Constructor and Description |
---|
AlmanacPVCoordinates(AlmanacParameter parameters,
int cycle,
double mu,
double rotationRate)
Creates an instance of AlmanacPVCoordinates.
|
Modifier and Type | Method and Description |
---|---|
PVCoordinates |
getPVCoordinates(AbsoluteDate date,
Frame frame)
Geometric computation of the position to a date.
|
public AlmanacPVCoordinates(AlmanacParameter parameters, int cycle, double mu, double rotationRate)
parameters
- Almanac parameterscycle
- number of cyclesmu
- earth's gravitational constantrotationRate
- earth's rotation ratepublic PVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame) throws PatriusException
getPVCoordinates
in interface PVCoordinatesProvider
date
- Date to compute coordinatesframe
- Results expression frame.PatriusException
- if input frame is different from WGS84 and configuration has not been definedCopyright © 2018 CNES. All Rights Reserved.