|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.bodies.PosVelChebyshev
public class PosVelChebyshev
Position-Velocity model based on Chebyshev polynomials.
This class represent the most basic element of the piecewise ephemerides for solar system bodies like JPL DE 405 ephemerides.
JPLEphemeridesLoader
,
Serialized FormConstructor Summary | |
---|---|
PosVelChebyshev(AbsoluteDate start,
double duration,
double[] xCoeffs,
double[] yCoeffs,
double[] zCoeffs)
Simple constructor. |
Method Summary | |
---|---|
AbsoluteDate |
getDate()
Get the date. |
PVCoordinates |
getPositionVelocity(AbsoluteDate date)
Get the position-velocity at a specified date. |
double |
getValidityDuration()
Get model validity duration. |
boolean |
inRange(AbsoluteDate date)
Check if a date is in validity range. |
boolean |
isSuccessorOf(PosVelChebyshev predecessor)
Check if the instance is the exact successor of another model. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PosVelChebyshev(AbsoluteDate start, double duration, double[] xCoeffs, double[] yCoeffs, double[] zCoeffs)
start
- start of the validity range of the instanceduration
- duration of the validity range of the instancexCoeffs
- Chebyshev polynomials coefficients for the X component
(a reference to the array will be stored in the instance)yCoeffs
- Chebyshev polynomials coefficients for the Y component
(a reference to the array will be stored in the instance)zCoeffs
- Chebyshev polynomials coefficients for the Z component
(a reference to the array will be stored in the instance)Method Detail |
---|
public AbsoluteDate getDate()
getDate
in interface TimeStamped
public double getValidityDuration()
public boolean isSuccessorOf(PosVelChebyshev predecessor)
The instance is the successor of another model if its start date is within a 1ms tolerance interval of the end date of the other model.
predecessor
- model to check instance against
public boolean inRange(AbsoluteDate date)
date
- date to check
public PVCoordinates getPositionVelocity(AbsoluteDate date)
date
- date at which position-velocity is requested
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |