Class PolynomialThrustSegment
java.lang.Object
org.orekit.forces.maneuvers.propulsion.PolynomialThrustSegment
- All Implemented Interfaces:
ThrustVectorProvider
Thrust vector given as polynomials for the Cartesian coordinates.
- Since:
- 12.0
- Author:
- Luc Maisonobe
-
Constructor Summary
ConstructorsConstructorDescriptionPolynomialThrustSegment(AbsoluteDate referenceDate, PolynomialFunction xThrust, PolynomialFunction yThrust, PolynomialFunction zThrust) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetThrustVector(AbsoluteDate date, double mass) Get thrust vector at a specified date.<T extends CalculusFieldElement<T>>
FieldVector3D<T> getThrustVector(FieldAbsoluteDate<T> date, T mass) Get thrust vector at a specified date.
-
Constructor Details
-
PolynomialThrustSegment
public PolynomialThrustSegment(AbsoluteDate referenceDate, PolynomialFunction xThrust, PolynomialFunction yThrust, PolynomialFunction zThrust) Simple constructor.- Parameters:
referenceDate- reference date of the polynomialsxThrust- thrust along X direction (N)yThrust- thrust along Y direction (N)zThrust- thrust along Z direction (N)
-
-
Method Details
-
getThrustVector
Get thrust vector at a specified date.- Specified by:
getThrustVectorin interfaceThrustVectorProvider- Parameters:
date- date to considermass- current mass- Returns:
- thrust at
date(N)
-
getThrustVector
public <T extends CalculusFieldElement<T>> FieldVector3D<T> getThrustVector(FieldAbsoluteDate<T> date, T mass) Get thrust vector at a specified date.- Specified by:
getThrustVectorin interfaceThrustVectorProvider- Type Parameters:
T- type of the field elements- Parameters:
date- date to considermass- current mass- Returns:
- thrust at
date(N)
-