Class TimeStampedFieldPVCoordinates<T extends CalculusFieldElement<T>>
- Type Parameters:
T- the type of the field elements
- All Implemented Interfaces:
FieldBlendable<FieldPVCoordinates<T>,,T> FieldTimeShiftable<FieldPVCoordinates<T>,,T> FieldTimeStamped<T>,TimeShiftable<FieldPVCoordinates<T>>
- Since:
- 7.0
- Author:
- Luc Maisonobe
-
Constructor Summary
ConstructorsConstructorDescriptionTimeStampedFieldPVCoordinates(Field<T> field, TimeStampedPVCoordinates pv) Constructor from Field and TimeStampedPVCoordinates.TimeStampedFieldPVCoordinates(AbsoluteDate date, double a, FieldPVCoordinates<T> pv) Multiplicative constructor.TimeStampedFieldPVCoordinates(AbsoluteDate date, double a1, FieldPVCoordinates<T> pv1, double a2, FieldPVCoordinates<T> pv2) Linear constructor.TimeStampedFieldPVCoordinates(AbsoluteDate date, double a1, FieldPVCoordinates<T> pv1, double a2, FieldPVCoordinates<T> pv2, double a3, FieldPVCoordinates<T> pv3) Linear constructor.TimeStampedFieldPVCoordinates(AbsoluteDate date, double a1, FieldPVCoordinates<T> pv1, double a2, FieldPVCoordinates<T> pv2, double a3, FieldPVCoordinates<T> pv3, double a4, FieldPVCoordinates<T> pv4) Linear constructor.TimeStampedFieldPVCoordinates(AbsoluteDate date, FieldVector3D<T> position, FieldVector3D<T> velocity, FieldVector3D<T> acceleration) Builds a PVCoordinates pair.Basic constructor.TimeStampedFieldPVCoordinates(AbsoluteDate date, FieldPVCoordinates<T> start, FieldPVCoordinates<T> end) Subtractive constructor.TimeStampedFieldPVCoordinates(AbsoluteDate date, T a, FieldPVCoordinates<T> pv) Multiplicative constructor.TimeStampedFieldPVCoordinates(AbsoluteDate date, T a1, FieldPVCoordinates<T> pv1, T a2, FieldPVCoordinates<T> pv2) Linear constructor.TimeStampedFieldPVCoordinates(AbsoluteDate date, T a1, FieldPVCoordinates<T> pv1, T a2, FieldPVCoordinates<T> pv2, T a3, FieldPVCoordinates<T> pv3) Linear constructor.TimeStampedFieldPVCoordinates(AbsoluteDate date, T a1, FieldPVCoordinates<T> pv1, T a2, FieldPVCoordinates<T> pv2, T a3, FieldPVCoordinates<T> pv3, T a4, FieldPVCoordinates<T> pv4) Linear constructor.TimeStampedFieldPVCoordinates(AbsoluteDate date, T a, PVCoordinates pv) Multiplicative constructor.TimeStampedFieldPVCoordinates(AbsoluteDate date, T a1, PVCoordinates pv1, T a2, PVCoordinates pv2) Linear constructor.TimeStampedFieldPVCoordinates(AbsoluteDate date, T a1, PVCoordinates pv1, T a2, PVCoordinates pv2, T a3, PVCoordinates pv3) Linear constructor.TimeStampedFieldPVCoordinates(AbsoluteDate date, T a1, PVCoordinates pv1, T a2, PVCoordinates pv2, T a3, PVCoordinates pv3, T a4, PVCoordinates pv4) Linear constructor.TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, double a, FieldPVCoordinates<T> pv) Multiplicative constructor.TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, double a1, FieldPVCoordinates<T> pv1, double a2, FieldPVCoordinates<T> pv2) Linear constructor.TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, double a1, FieldPVCoordinates<T> pv1, double a2, FieldPVCoordinates<T> pv2, double a3, FieldPVCoordinates<T> pv3) Linear constructor.TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, double a1, FieldPVCoordinates<T> pv1, double a2, FieldPVCoordinates<T> pv2, double a3, FieldPVCoordinates<T> pv3, double a4, FieldPVCoordinates<T> pv4) Linear constructor.TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, FieldVector3D<T> position, FieldVector3D<T> velocity, FieldVector3D<T> acceleration) Builds a PVCoordinates pair.TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, FieldVector3D<U> p) Builds a TimeStampedFieldPVCoordinates triplet from aFieldVector3D<FieldDerivativeStructure>.Basic constructor.TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, FieldPVCoordinates<T> start, FieldPVCoordinates<T> end) Subtractive constructor.TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, T a, FieldPVCoordinates<T> pv) Multiplicative constructor.TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, T a1, FieldPVCoordinates<T> pv1, T a2, FieldPVCoordinates<T> pv2) Linear constructor.TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, T a1, FieldPVCoordinates<T> pv1, T a2, FieldPVCoordinates<T> pv2, T a3, FieldPVCoordinates<T> pv3) Linear constructor.TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, T a1, FieldPVCoordinates<T> pv1, T a2, FieldPVCoordinates<T> pv2, T a3, FieldPVCoordinates<T> pv3, T a4, FieldPVCoordinates<T> pv4) Linear constructor.TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, T a, PVCoordinates pv) Multiplicative constructor.TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, T a1, PVCoordinates pv1, T a2, PVCoordinates pv2) Linear constructor.TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, T a1, PVCoordinates pv1, T a2, PVCoordinates pv2, T a3, PVCoordinates pv3) Linear constructor.TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, T a1, PVCoordinates pv1, T a2, PVCoordinates pv2, T a3, PVCoordinates pv3, T a4, PVCoordinates pv4) Linear constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetDate()Get the date.shiftedBy(double dt) Get a time-shifted state.shiftedBy(TimeOffset dt) Get a time-shifted state.Get a time-shifted state.toDerivativeStructurePV(int order) Transform the instance to aFieldPVCoordinates<FieldDerivativeStructure>.toString()Return a string representation of this date, position, velocity, and acceleration.Return a string representation of this date, position, velocity, and acceleration.Convert to a constant position-velocity.Transform the instance to aFieldPVCoordinates<FieldUnivariateDerivative1>.Transform the instance to aFieldPVCoordinates<FieldUnivariateDerivative2>.Methods inherited from class org.orekit.utils.FieldPVCoordinates
blendArithmeticallyWith, crossProduct, estimateVelocity, getAcceleration, getAngularVelocity, getMomentum, getPosition, getVelocity, getZero, negate, normalize, positionShiftedBy, toDerivativeStructureVector, toPVCoordinates, toUnivariateDerivative1Vector, toUnivariateDerivative2VectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.orekit.time.FieldTimeStamped
durationFrom, durationFrom
-
Constructor Details
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(AbsoluteDate date, FieldVector3D<T> position, FieldVector3D<T> velocity, FieldVector3D<T> acceleration) Builds a PVCoordinates pair.- Parameters:
date- coordinates dateposition- the position vector (m)velocity- the velocity vector (m/s)acceleration- the acceleration vector (m/s²)
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, FieldVector3D<T> position, FieldVector3D<T> velocity, FieldVector3D<T> acceleration) Builds a PVCoordinates pair.- Parameters:
date- coordinates dateposition- the position vector (m)velocity- the velocity vector (m/s)acceleration- the acceleration vector (m/s²)
-
TimeStampedFieldPVCoordinates
Basic constructor.Build a PVCoordinates from another one at a given date
The PVCoordinates built will be pv
- Parameters:
date- date of the built coordinatespv- base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
Basic constructor.Build a PVCoordinates from another one at a given date
The PVCoordinates built will be pv
- Parameters:
date- date of the built coordinatespv- base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
Constructor from Field and TimeStampedPVCoordinates.Build a TimeStampedFieldPVCoordinates from non-Field one.
- Parameters:
field- CalculusField to base object onpv- non-field, time-stamped Position-Velocity coordinates
-
TimeStampedFieldPVCoordinates
Multiplicative constructor.Build a PVCoordinates from another one and a scale factor.
The PVCoordinates built will be a * pv
- Parameters:
date- date of the built coordinatesa- scale factorpv- base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
Multiplicative constructor.Build a PVCoordinates from another one and a scale factor.
The PVCoordinates built will be a * pv
- Parameters:
date- date of the built coordinatesa- scale factorpv- base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
Multiplicative constructor.Build a PVCoordinates from another one and a scale factor.
The PVCoordinates built will be a * pv
- Parameters:
date- date of the built coordinatesa- scale factorpv- base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
Multiplicative constructor.Build a PVCoordinates from another one and a scale factor.
The PVCoordinates built will be a * pv
- Parameters:
date- date of the built coordinatesa- scale factorpv- base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
Multiplicative constructor.Build a PVCoordinates from another one and a scale factor.
The PVCoordinates built will be a * pv
- Parameters:
date- date of the built coordinatesa- scale factorpv- base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
Multiplicative constructor.Build a PVCoordinates from another one and a scale factor.
The PVCoordinates built will be a * pv
- Parameters:
date- date of the built coordinatesa- scale factorpv- base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(AbsoluteDate date, FieldPVCoordinates<T> start, FieldPVCoordinates<T> end) Subtractive constructor.Build a relative PVCoordinates from a start and an end position.
The PVCoordinates built will be end - start.
- Parameters:
date- date of the built coordinatesstart- Starting PVCoordinatesend- ending PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, FieldPVCoordinates<T> start, FieldPVCoordinates<T> end) Subtractive constructor.Build a relative PVCoordinates from a start and an end position.
The PVCoordinates built will be end - start.
- Parameters:
date- date of the built coordinatesstart- Starting PVCoordinatesend- ending PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(AbsoluteDate date, double a1, FieldPVCoordinates<T> pv1, double a2, FieldPVCoordinates<T> pv2) Linear constructor.Build a PVCoordinates from two other ones and corresponding scale factors.
The PVCoordinates built will be a1 * u1 + a2 * u2
- Parameters:
date- date of the built coordinatesa1- first scale factorpv1- first base (unscaled) PVCoordinatesa2- second scale factorpv2- second base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, double a1, FieldPVCoordinates<T> pv1, double a2, FieldPVCoordinates<T> pv2) Linear constructor.Build a PVCoordinates from two other ones and corresponding scale factors.
The PVCoordinates built will be a1 * u1 + a2 * u2
- Parameters:
date- date of the built coordinatesa1- first scale factorpv1- first base (unscaled) PVCoordinatesa2- second scale factorpv2- second base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(AbsoluteDate date, T a1, FieldPVCoordinates<T> pv1, T a2, FieldPVCoordinates<T> pv2) Linear constructor.Build a PVCoordinates from two other ones and corresponding scale factors.
The PVCoordinates built will be a1 * u1 + a2 * u2
- Parameters:
date- date of the built coordinatesa1- first scale factorpv1- first base (unscaled) PVCoordinatesa2- second scale factorpv2- second base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, T a1, FieldPVCoordinates<T> pv1, T a2, FieldPVCoordinates<T> pv2) Linear constructor.Build a PVCoordinates from two other ones and corresponding scale factors.
The PVCoordinates built will be a1 * u1 + a2 * u2
- Parameters:
date- date of the built coordinatesa1- first scale factorpv1- first base (unscaled) PVCoordinatesa2- second scale factorpv2- second base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(AbsoluteDate date, T a1, PVCoordinates pv1, T a2, PVCoordinates pv2) Linear constructor.Build a PVCoordinates from two other ones and corresponding scale factors.
The PVCoordinates built will be a1 * u1 + a2 * u2
- Parameters:
date- date of the built coordinatesa1- first scale factorpv1- first base (unscaled) PVCoordinatesa2- second scale factorpv2- second base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, T a1, PVCoordinates pv1, T a2, PVCoordinates pv2) Linear constructor.Build a PVCoordinates from two other ones and corresponding scale factors.
The PVCoordinates built will be a1 * u1 + a2 * u2
- Parameters:
date- date of the built coordinatesa1- first scale factorpv1- first base (unscaled) PVCoordinatesa2- second scale factorpv2- second base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(AbsoluteDate date, double a1, FieldPVCoordinates<T> pv1, double a2, FieldPVCoordinates<T> pv2, double a3, FieldPVCoordinates<T> pv3) Linear constructor.Build a PVCoordinates from three other ones and corresponding scale factors.
The PVCoordinates built will be a1 * u1 + a2 * u2 + a3 * u3
- Parameters:
date- date of the built coordinatesa1- first scale factorpv1- first base (unscaled) PVCoordinatesa2- second scale factorpv2- second base (unscaled) PVCoordinatesa3- third scale factorpv3- third base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, double a1, FieldPVCoordinates<T> pv1, double a2, FieldPVCoordinates<T> pv2, double a3, FieldPVCoordinates<T> pv3) Linear constructor.Build a PVCoordinates from three other ones and corresponding scale factors.
The PVCoordinates built will be a1 * u1 + a2 * u2 + a3 * u3
- Parameters:
date- date of the built coordinatesa1- first scale factorpv1- first base (unscaled) PVCoordinatesa2- second scale factorpv2- second base (unscaled) PVCoordinatesa3- third scale factorpv3- third base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(AbsoluteDate date, T a1, FieldPVCoordinates<T> pv1, T a2, FieldPVCoordinates<T> pv2, T a3, FieldPVCoordinates<T> pv3) Linear constructor.Build a PVCoordinates from three other ones and corresponding scale factors.
The PVCoordinates built will be a1 * u1 + a2 * u2 + a3 * u3
- Parameters:
date- date of the built coordinatesa1- first scale factorpv1- first base (unscaled) PVCoordinatesa2- second scale factorpv2- second base (unscaled) PVCoordinatesa3- third scale factorpv3- third base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, T a1, FieldPVCoordinates<T> pv1, T a2, FieldPVCoordinates<T> pv2, T a3, FieldPVCoordinates<T> pv3) Linear constructor.Build a PVCoordinates from three other ones and corresponding scale factors.
The PVCoordinates built will be a1 * u1 + a2 * u2 + a3 * u3
- Parameters:
date- date of the built coordinatesa1- first scale factorpv1- first base (unscaled) PVCoordinatesa2- second scale factorpv2- second base (unscaled) PVCoordinatesa3- third scale factorpv3- third base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(AbsoluteDate date, T a1, PVCoordinates pv1, T a2, PVCoordinates pv2, T a3, PVCoordinates pv3) Linear constructor.Build a PVCoordinates from three other ones and corresponding scale factors.
The PVCoordinates built will be a1 * u1 + a2 * u2 + a3 * u3
- Parameters:
date- date of the built coordinatesa1- first scale factorpv1- first base (unscaled) PVCoordinatesa2- second scale factorpv2- second base (unscaled) PVCoordinatesa3- third scale factorpv3- third base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, T a1, PVCoordinates pv1, T a2, PVCoordinates pv2, T a3, PVCoordinates pv3) Linear constructor.Build a PVCoordinates from three other ones and corresponding scale factors.
The PVCoordinates built will be a1 * u1 + a2 * u2 + a3 * u3
- Parameters:
date- date of the built coordinatesa1- first scale factorpv1- first base (unscaled) PVCoordinatesa2- second scale factorpv2- second base (unscaled) PVCoordinatesa3- third scale factorpv3- third base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(AbsoluteDate date, double a1, FieldPVCoordinates<T> pv1, double a2, FieldPVCoordinates<T> pv2, double a3, FieldPVCoordinates<T> pv3, double a4, FieldPVCoordinates<T> pv4) Linear constructor.Build a PVCoordinates from four other ones and corresponding scale factors.
The PVCoordinates built will be a1 * u1 + a2 * u2 + a3 * u3 + a4 * u4
- Parameters:
date- date of the built coordinatesa1- first scale factorpv1- first base (unscaled) PVCoordinatesa2- second scale factorpv2- second base (unscaled) PVCoordinatesa3- third scale factorpv3- third base (unscaled) PVCoordinatesa4- fourth scale factorpv4- fourth base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, double a1, FieldPVCoordinates<T> pv1, double a2, FieldPVCoordinates<T> pv2, double a3, FieldPVCoordinates<T> pv3, double a4, FieldPVCoordinates<T> pv4) Linear constructor.Build a PVCoordinates from four other ones and corresponding scale factors.
The PVCoordinates built will be a1 * u1 + a2 * u2 + a3 * u3 + a4 * u4
- Parameters:
date- date of the built coordinatesa1- first scale factorpv1- first base (unscaled) PVCoordinatesa2- second scale factorpv2- second base (unscaled) PVCoordinatesa3- third scale factorpv3- third base (unscaled) PVCoordinatesa4- fourth scale factorpv4- fourth base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(AbsoluteDate date, T a1, FieldPVCoordinates<T> pv1, T a2, FieldPVCoordinates<T> pv2, T a3, FieldPVCoordinates<T> pv3, T a4, FieldPVCoordinates<T> pv4) Linear constructor.Build a PVCoordinates from four other ones and corresponding scale factors.
The PVCoordinates built will be a1 * u1 + a2 * u2 + a3 * u3 + a4 * u4
- Parameters:
date- date of the built coordinatesa1- first scale factorpv1- first base (unscaled) PVCoordinatesa2- second scale factorpv2- second base (unscaled) PVCoordinatesa3- third scale factorpv3- third base (unscaled) PVCoordinatesa4- fourth scale factorpv4- fourth base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, T a1, FieldPVCoordinates<T> pv1, T a2, FieldPVCoordinates<T> pv2, T a3, FieldPVCoordinates<T> pv3, T a4, FieldPVCoordinates<T> pv4) Linear constructor.Build a PVCoordinates from four other ones and corresponding scale factors.
The PVCoordinates built will be a1 * u1 + a2 * u2 + a3 * u3 + a4 * u4
- Parameters:
date- date of the built coordinatesa1- first scale factorpv1- first base (unscaled) PVCoordinatesa2- second scale factorpv2- second base (unscaled) PVCoordinatesa3- third scale factorpv3- third base (unscaled) PVCoordinatesa4- fourth scale factorpv4- fourth base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(AbsoluteDate date, T a1, PVCoordinates pv1, T a2, PVCoordinates pv2, T a3, PVCoordinates pv3, T a4, PVCoordinates pv4) Linear constructor.Build a PVCoordinates from four other ones and corresponding scale factors.
The PVCoordinates built will be a1 * u1 + a2 * u2 + a3 * u3 + a4 * u4
- Parameters:
date- date of the built coordinatesa1- first scale factorpv1- first base (unscaled) PVCoordinatesa2- second scale factorpv2- second base (unscaled) PVCoordinatesa3- third scale factorpv3- third base (unscaled) PVCoordinatesa4- fourth scale factorpv4- fourth base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
public TimeStampedFieldPVCoordinates(FieldAbsoluteDate<T> date, T a1, PVCoordinates pv1, T a2, PVCoordinates pv2, T a3, PVCoordinates pv3, T a4, PVCoordinates pv4) Linear constructor.Build a PVCoordinates from four other ones and corresponding scale factors.
The PVCoordinates built will be a1 * u1 + a2 * u2 + a3 * u3 + a4 * u4
- Parameters:
date- date of the built coordinatesa1- first scale factorpv1- first base (unscaled) PVCoordinatesa2- second scale factorpv2- second base (unscaled) PVCoordinatesa3- third scale factorpv3- third base (unscaled) PVCoordinatesa4- fourth scale factorpv4- fourth base (unscaled) PVCoordinates
-
TimeStampedFieldPVCoordinates
Builds a TimeStampedFieldPVCoordinates triplet from aFieldVector3D<FieldDerivativeStructure>.The vector components must have time as their only derivation parameter and have consistent derivation orders.
- Type Parameters:
U- type of the derivative- Parameters:
date- date of the built coordinatesp- vector with time-derivatives embedded within the coordinates
-
-
Method Details
-
getDate
Get the date.- Specified by:
getDatein interfaceFieldTimeStamped<T extends CalculusFieldElement<T>>- Returns:
- date attached to the object
-
shiftedBy
Get a time-shifted state.The state can be slightly shifted to close dates. This shift is based on a simple linear model. It is not intended as a replacement for proper orbit propagation (it is not even Keplerian!) but should be sufficient for either small time shifts or coarse accuracy.
- Specified by:
shiftedByin interfaceTimeShiftable<T extends CalculusFieldElement<T>>- Overrides:
shiftedByin classFieldPVCoordinates<T extends CalculusFieldElement<T>>- Parameters:
dt- time shift in seconds- Returns:
- a new state, shifted with respect to the instance (which is immutable)
-
shiftedBy
Get a time-shifted state.The state can be slightly shifted to close dates. This shift is based on a simple linear model. It is not intended as a replacement for proper orbit propagation (it is not even Keplerian!) but should be sufficient for either small time shifts or coarse accuracy.
- Specified by:
shiftedByin interfaceTimeShiftable<T extends CalculusFieldElement<T>>- Parameters:
dt- time shift in seconds- Returns:
- a new state, shifted with respect to the instance (which is immutable)
-
shiftedBy
Get a time-shifted state.The state can be slightly shifted to close dates. This shift is based on a simple linear model. It is not intended as a replacement for proper orbit propagation (it is not even Keplerian!) but should be sufficient for either small time shifts or coarse accuracy.
- Specified by:
shiftedByin interfaceFieldTimeShiftable<FieldPVCoordinates<T extends CalculusFieldElement<T>>,T extends CalculusFieldElement<T>> - Overrides:
shiftedByin classFieldPVCoordinates<T extends CalculusFieldElement<T>>- Parameters:
dt- time shift in seconds- Returns:
- a new state, shifted with respect to the instance (which is immutable)
-
toUnivariateDerivative1PV
Description copied from class:FieldPVCoordinatesTransform the instance to aFieldPVCoordinates<FieldUnivariateDerivative1>.The
FieldUnivariateDerivative1coordinates correspond to time-derivatives up to the order 1. The first derivative of acceleration will be computed as a Keplerian-only jerk.- Overrides:
toUnivariateDerivative1PVin classFieldPVCoordinates<T extends CalculusFieldElement<T>>- Returns:
- pv coordinates with time-derivatives embedded within the coordinates
-
toUnivariateDerivative2PV
Description copied from class:FieldPVCoordinatesTransform the instance to aFieldPVCoordinates<FieldUnivariateDerivative2>.The
FieldUnivariateDerivative2coordinates correspond to time-derivatives up to the order 2. As derivation order is 2, the second derivative of velocity (which is also the first derivative of acceleration) will be computed as a Keplerian-only jerk, and the second derivative of acceleration will be computed as a Keplerian-only jounce.- Overrides:
toUnivariateDerivative2PVin classFieldPVCoordinates<T extends CalculusFieldElement<T>>- Returns:
- pv coordinates with time-derivatives embedded within the coordinates
-
toDerivativeStructurePV
public TimeStampedFieldPVCoordinates<FieldDerivativeStructure<T>> toDerivativeStructurePV(int order) Description copied from class:FieldPVCoordinatesTransform the instance to aFieldPVCoordinates<FieldDerivativeStructure>.The
FieldDerivativeStructurecoordinates correspond to time-derivatives up to the user-specified order. As both the instance componentsposition,velocityandaccelerationand thederivativesof the components holds time-derivatives, there are several ways to retrieve these derivatives. If for example theorderis set to 2, then bothpv.getPosition().getX().getPartialDerivative(2),pv.getVelocity().getX().getPartialDerivative(1)andpv.getAcceleration().getX().getValue()return the exact same value.If derivation order is 1, the first derivative of acceleration will be computed as a Keplerian-only jerk. If derivation order is 2, the second derivative of velocity (which is also the first derivative of acceleration) will be computed as a Keplerian-only jerk, and the second derivative of acceleration will be computed as a Keplerian-only jounce.
- Overrides:
toDerivativeStructurePVin classFieldPVCoordinates<T extends CalculusFieldElement<T>>- Parameters:
order- derivation order for the vector components (must be either 0, 1 or 2)- Returns:
- pv coordinates with time-derivatives embedded within the coordinates
-
toTimeStampedPVCoordinates
Convert to a constant position-velocity.- Returns:
- a constant position-velocity
- Since:
- 9.0
-
toString
Return a string representation of this date, position, velocity, and acceleration.This method uses the
default data context.- Overrides:
toStringin classFieldPVCoordinates<T extends CalculusFieldElement<T>>- Returns:
- string representation of this.
-
toString
Return a string representation of this date, position, velocity, and acceleration.- Parameters:
utc- time scale used to print the date.- Returns:
- string representation of this.
-