public class AngularVelocitiesPolynomialProfileLeg extends AbstractAngularVelocitiesAttitudeProfile
An attitude angular velocities profile leg, whose x-y-z components are represented with polynomial functions.
AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType
dateRef, integStep, refFrame, rotationInitial, spinDerivativesComputation, spinVectorFunction, type
Modifier and Type | Method and Description |
---|---|
AbsoluteDate |
getDateZero()
Get the date zero of the polynomial functions.
|
double[] |
getXCoefficients()
Gets the coefficients of the polynomial function representing x angular rate.
|
double[] |
getYCoefficients()
Gets the coefficients of the polynomial function representing y angular rate.
|
double[] |
getZCoefficients()
Gets the coefficients of the polynomial function representing z angular rate.
|
void |
truncate(AbsoluteDateInterval newInterval)
Truncate the validity interval of the leg.
|
clearCache, getAttitude, getOrientation, setSpinDerivativesComputation
checkDate, getAttitude, getNature, getTimeInterval
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toPrettyString
public AngularVelocitiesPolynomialProfileLeg(PolynomialFunction x, PolynomialFunction y, PolynomialFunction z, Frame frame, AbsoluteDateInterval interval, Rotation rotationRef, AbsoluteDate dateRef, AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType integType, double integStep) throws PatriusException
x
- 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 vector3Dinterval
- the time interval of the legframe
- Polynomial functions expression framerotationRef
- rotation at reference datedateRef
- Reference date of the polynomial functionsintegType
- the Integration typeintegStep
- the integration stepPatriusException
- If the reference date is after the lower bound of the interval to be covered by the profilepublic AngularVelocitiesPolynomialProfileLeg(PolynomialFunction x, PolynomialFunction y, PolynomialFunction z, Frame frame, AbsoluteDateInterval interval, Rotation rotationRef, AbsoluteDate dateRef, AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType integType, double integStep, String nature) throws PatriusException
x
- 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 vector3Dinterval
- the time interval of the legframe
- Polynomial functions expression framerotationRef
- rotation at reference datedateRef
- Reference date of the polynomial functionsintegType
- the Integration typeintegStep
- the integration stepnature
- NaturePatriusException
- If the reference date is after the lower bound of the interval to be covered by the profilepublic AngularVelocitiesPolynomialProfileLeg(PolynomialFunction x, PolynomialFunction y, PolynomialFunction z, Frame frame, AbsoluteDateInterval interval, Rotation rotationRef, AbsoluteDate dateRef, AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType integType, double integStep, int cacheFreq) throws PatriusException
x
- 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 vector3Dinterval
- the time interval of the legframe
- Polynomial functions expression framerotationRef
- rotation at reference datedateRef
- Reference date of the polynomial functionsintegType
- the Integration typeintegStep
- the integration stepcacheFreq
- Number of integration steps performed between two values stored in the underlying cachePatriusException
- If the reference date is after the lower bound of the interval to be covered by the profilepublic AngularVelocitiesPolynomialProfileLeg(PolynomialFunction x, PolynomialFunction y, PolynomialFunction z, Frame frame, AbsoluteDateInterval interval, Rotation rotationRef, AbsoluteDate dateRef, AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType integType, double integStep, int cacheFreq, String nature) throws PatriusException
x
- 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 vector3Dinterval
- the time interval of the legframe
- Polynomial functions expression framerotationRef
- rotation at reference datedateRef
- Reference date of the polynomial functionsintegType
- the Integration typeintegStep
- the integration stepcacheFreq
- Number of integration steps performed between two values stored in the underlying cachenature
- NaturePatriusException
- If the reference date is after the lower bound of the interval to be covered by the profilepublic AbsoluteDate getDateZero()
public double[] getXCoefficients()
public double[] getYCoefficients()
public double[] getZCoefficients()
public void truncate(AbsoluteDateInterval newInterval) throws PatriusException
truncate
in interface Leg
truncate
in class AbstractAttitudeProfile
newInterval
- the sub-interval where the leg has to be truncatedPatriusException
- thrown new interval not entirely included in current intervalCopyright © 2020 CNES. All rights reserved.