public final class AngularVelocitiesPolynomialSegment extends Object
Constructor and Description |
---|
AngularVelocitiesPolynomialSegment(Rotation initialRotation,
PolynomialFunction x,
PolynomialFunction y,
PolynomialFunction z,
AbsoluteDate date0,
AbsoluteDateInterval timeInterval,
KinematicsToolkit.IntegrationType integType,
double integStep)
Build an angular velocity polynomial guidance profile on a segment.
|
Modifier and Type | Method and Description |
---|---|
static int |
factorial(int n)
Factorial.
|
AbsoluteDate |
getDateZero()
Get the date zero of the polynomial functions.
|
Rotation |
getOrientation(AbsoluteDate date)
Get the orientation from the quaternion polynomials at a given date.
|
Vector3D |
getRotationAcceleration(AbsoluteDate date)
Get the rotation acceleration from the vector3D at a given date.
|
AbsoluteDateInterval |
getTimeInterval()
Get the time interval of the guidance profile segment.
|
Vector3DFunction |
getVectorFunction() |
Vector3D |
getVelocity(AbsoluteDate date)
Get the velocity from the vector3D at a given date.
|
double[] |
getXCoefficients() |
double[] |
getYCoefficients() |
double[] |
getZCoefficients() |
AngularVelocitiesPolynomialSegment |
truncateSegment(AbsoluteDateInterval newInterval)
Given a sub-interval, truncate the original segment.
|
public AngularVelocitiesPolynomialSegment(Rotation initialRotation, PolynomialFunction x, PolynomialFunction y, PolynomialFunction z, AbsoluteDate date0, AbsoluteDateInterval timeInterval, KinematicsToolkit.IntegrationType integType, double integStep)
initialRotation
- rotation at originx
- the polynomial function representing the x component of the angular velocity vector3Dy
- the polynomial function representing the y component of the angular velocity vector3Dz
- the polynomial function representing the z component of the angular velocity vector3Ddate0
- the date zero of the polynomial functionstimeInterval
- the time interval of the segmentintegType
- the Integration typeintegStep
- the integration steppublic AbsoluteDateInterval getTimeInterval()
public AbsoluteDate getDateZero()
public double[] getXCoefficients()
public double[] getYCoefficients()
public double[] getZCoefficients()
public Rotation getOrientation(AbsoluteDate date)
date
- the datepublic Vector3D getVelocity(AbsoluteDate date)
date
- the datepublic Vector3D getRotationAcceleration(AbsoluteDate date)
date
- the datepublic Vector3DFunction getVectorFunction()
public AngularVelocitiesPolynomialSegment truncateSegment(AbsoluteDateInterval newInterval) throws PatriusException
newInterval
- the sub-interval where the segment has to be truncatedPatriusException
- thrown new interval not entirely included in current intervalpublic static int factorial(int n)
n
- integerCopyright © 2019 CNES. All rights reserved.