Class KeplerianMotionCartesianUtility

    • 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 use KeplerianPropagator.
        Parameters:
        dt - time of flight
        position - initial position vector
        velocity - initial velocity vector
        mu - 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 use KeplerianPropagator.
        Type Parameters:
        T - field type
        Parameters:
        dt - time of flight
        position - initial position vector
        velocity - initial velocity vector
        mu - central body gravitational parameter
        Returns:
        predicted position-velocity