Class PolynomialThrustSegment
- java.lang.Object
-
- org.orekit.forces.maneuvers.propulsion.PolynomialThrustSegment
-
- All Implemented Interfaces:
ThrustVectorProvider
public class PolynomialThrustSegment extends Object implements ThrustVectorProvider
Thrust vector given as polynomials for the Cartesian coordinates.- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description PolynomialThrustSegment(AbsoluteDate referenceDate, PolynomialFunction xThrust, PolynomialFunction yThrust, PolynomialFunction zThrust)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector3D
getThrustVector(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 Detail
-
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 Detail
-
getThrustVector
public Vector3D getThrustVector(AbsoluteDate date, double mass)
Get thrust vector at a specified date.- Specified by:
getThrustVector
in 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:
getThrustVector
in interfaceThrustVectorProvider
- Type Parameters:
T
- type of the field elements- Parameters:
date
- date to considermass
- current mass- Returns:
- thrust at
date
(N)
-
-