public final class QuaternionDatePolynomialSegment extends Object implements Serializable
Constructor and Description |
---|
QuaternionDatePolynomialSegment(DatePolynomialFunctionInterface q0,
DatePolynomialFunctionInterface q1,
DatePolynomialFunctionInterface q2,
DatePolynomialFunctionInterface q3,
AbsoluteDateInterval timeInterval,
boolean needsNormalizationIn)
Build a quaternion polynomial guidance profile on a segment.
The polynomial representing the quaternion components are generic polynomial functions. |
Modifier and Type | Method and Description |
---|---|
Rotation |
getOrientation(AbsoluteDate date)
Get the orientation from the quaternion polynomials at a given date.
|
DatePolynomialFunctionInterface |
getQ0Polynomial()
Getter for the polynomial function of date representing the q0 quaternion component.
|
DatePolynomialFunctionInterface |
getQ1Polynomial()
Getter for the polynomial function of date representing the q1 quaternion component.
|
DatePolynomialFunctionInterface |
getQ2Polynomial()
Getter for the polynomial function of date representing the q2 quaternion component.
|
DatePolynomialFunctionInterface |
getQ3Polynomial()
Getter for the polynomial function of date representing the q3 quaternion component.
|
AbsoluteDateInterval |
getTimeInterval()
Get the time interval of the guidance profile segment.
|
public QuaternionDatePolynomialSegment(DatePolynomialFunctionInterface q0, DatePolynomialFunctionInterface q1, DatePolynomialFunctionInterface q2, DatePolynomialFunctionInterface q3, AbsoluteDateInterval timeInterval, boolean needsNormalizationIn)
Real time is used (not reduced time).
q0
- the polynomial function of date representing the q0 quaternion componentq1
- the polynomial function of date representing the q1 quaternion componentq2
- the polynomial function of date representing the q2 quaternion componentq3
- the polynomial function of date representing the q3 quaternion componenttimeInterval
- the time interval of the guidance profile segment: only used as validity time interval (no
impact on orientation value at any date)needsNormalizationIn
- true if the quaternion polynomials need normalizationpublic Rotation getOrientation(AbsoluteDate date)
date
- the date at which we want to get the orientation from the quaternion polynomialspublic AbsoluteDateInterval getTimeInterval()
public DatePolynomialFunctionInterface getQ0Polynomial()
public DatePolynomialFunctionInterface getQ1Polynomial()
public DatePolynomialFunctionInterface getQ2Polynomial()
public DatePolynomialFunctionInterface getQ3Polynomial()
Copyright © 2023 CNES. All rights reserved.