public final class AngularVelocitiesPolynomialProfile extends AbstractAttitudeProfile
Constructor and Description |
---|
AngularVelocitiesPolynomialProfile(Frame frame,
AbsoluteDateInterval timeInterval,
List<AngularVelocitiesPolynomialSegment> polynomials)
Create a polynomial, angular velocity guidance profile.
|
AngularVelocitiesPolynomialProfile(Frame frame,
AbsoluteDateInterval timeInterval,
List<AngularVelocitiesPolynomialSegment> polynomials,
String nature)
Create a polynomial, angular velocity guidance profile.
|
Modifier and Type | Method and Description |
---|---|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate userDate,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
List<AngularVelocitiesPolynomialSegment> |
getSegments() |
Map<AbsoluteDateInterval,double[]> |
getXCoefficients() |
Map<AbsoluteDateInterval,double[]> |
getYCoefficients() |
Map<AbsoluteDateInterval,double[]> |
getZCoefficients() |
void |
setSpinDerivativesComputation(boolean computeSpinDerivatives)
Method to activate spin derivative computation.
|
AngularVelocitiesPolynomialProfile |
truncateTimeInterval(AbsoluteDateInterval newInterval)
Truncate the validity interval of the profile
|
checkDate, getAttitude, getNature, getTimeInterval
public AngularVelocitiesPolynomialProfile(Frame frame, AbsoluteDateInterval timeInterval, List<AngularVelocitiesPolynomialSegment> polynomials)
frame
- the reference frame of the polynomial functionstimeInterval
- interval of validity of the guidance profilepolynomials
- the list of polynomial guidance profile segmentspublic AngularVelocitiesPolynomialProfile(Frame frame, AbsoluteDateInterval timeInterval, List<AngularVelocitiesPolynomialSegment> polynomials, String nature)
frame
- the reference frame of the polynomial functionstimeInterval
- interval of validity of the guidance profilepolynomials
- the list of polynomial guidance profile segmentsnature
- Naturepublic Map<AbsoluteDateInterval,double[]> getXCoefficients()
public Map<AbsoluteDateInterval,double[]> getYCoefficients()
public Map<AbsoluteDateInterval,double[]> getZCoefficients()
public Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate userDate, Frame frame) throws PatriusException
pvProv
- local position-velocity provider around current dateuserDate
- current dateframe
- reference frame from which attitude is computedPatriusException
- if attitude cannot be computedpublic void setSpinDerivativesComputation(boolean computeSpinDerivatives) throws PatriusException
computeSpinDerivatives
- true if spin derivatives should be computedPatriusException
- if spin derivatives can not be computedpublic AngularVelocitiesPolynomialProfile truncateTimeInterval(AbsoluteDateInterval newInterval) throws PatriusException
newInterval
- the new time intervalPatriusException
- if the new time interval is not included in the current time intervalpublic List<AngularVelocitiesPolynomialSegment> getSegments()
Copyright © 2019 CNES. All rights reserved.