Package org.orekit.orbits
Class KeplerianMotionCartesianUtility
- java.lang.Object
-
- org.orekit.orbits.KeplerianMotionCartesianUtility
-
public class KeplerianMotionCartesianUtility extends Object
Utility class to predict position and velocity under Keplerian motion, using lightweight routines based on Cartesian coordinates. Computations do not require a reference frame or an epoch.- Since:
- 12.1
- Author:
- Andrew Goetz, Romain Serra
- See Also:
KeplerianPropagator
,FieldKeplerianPropagator
,CartesianOrbit
,FieldCartesianOrbit
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PVCoordinates
predictPositionVelocity(double dt, Vector3D position, Vector3D velocity, double mu)
Method to propagate position and velocity according to Keplerian dynamics.static <T extends CalculusFieldElement<T>>
FieldPVCoordinates<T>predictPositionVelocity(T dt, FieldVector3D<T> position, FieldVector3D<T> velocity, T mu)
Method to propagate position and velocity according to Keplerian dynamics.
-
-
-
Method Detail
-
predictPositionVelocity
public static PVCoordinates predictPositionVelocity(double dt, Vector3D position, Vector3D velocity, double mu)
Method to propagate position and velocity according to Keplerian dynamics. For long time of flights, it is preferable to useKeplerianPropagator
.- Parameters:
dt
- time of flightposition
- initial position vectorvelocity
- initial velocity vectormu
- central body gravitational parameter- Returns:
- predicted position-velocity
-
predictPositionVelocity
public static <T extends CalculusFieldElement<T>> FieldPVCoordinates<T> predictPositionVelocity(T dt, FieldVector3D<T> position, FieldVector3D<T> velocity, T mu)
Method to propagate position and velocity according to Keplerian dynamics. For long time of flights, it is preferable to useKeplerianPropagator
.- Type Parameters:
T
- field type- Parameters:
dt
- time of flightposition
- initial position vectorvelocity
- initial velocity vectormu
- central body gravitational parameter- Returns:
- predicted position-velocity
-
-