public class AngularVelocitiesPolynomialProfile extends StrictAttitudeLegsSequence<AngularVelocitiesPolynomialProfileLeg> implements AttitudeProfile
An attitude angular velocities profile sequence, whose x-y-z components are represented with polynomial functions.
LEG_NATURE| Constructor and Description |
|---|
AngularVelocitiesPolynomialProfile(List<AngularVelocitiesPolynomialProfileLeg> polynomials)
Create a polynomial, angular velocity attitude profiles sequence.
|
AngularVelocitiesPolynomialProfile(List<AngularVelocitiesPolynomialProfileLeg> polynomials,
String nature)
Create a polynomial, angular velocity attitude profiles sequence.
|
AngularVelocitiesPolynomialProfile(String nature)
Create an empty polynomial angular velocity attitude profiles sequence.
|
| Modifier and Type | Method and Description |
|---|---|
AngularVelocitiesPolynomialProfile |
copy(AbsoluteDateInterval newInterval)
Creates a new leg from this one.
|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
String |
getNature()
Returns the nature of the leg.
|
AbsoluteDateInterval |
getTimeInterval()
Returns the time interval of the legs sequence.
|
Map<AbsoluteDateInterval,double[]> |
getXCoefficients() |
Map<AbsoluteDateInterval,double[]> |
getYCoefficients() |
Map<AbsoluteDateInterval,double[]> |
getZCoefficients() |
void |
setSpinDerivativesComputation(boolean computeSpinDerivatives)
Method to activate spin derivative computation.
|
String |
toPrettyString()
Returns a nice
String representation. |
isSpinDerivativesComputationadd, addAll, clear, current, first, first, head, isEmpty, isEmpty, iterator, last, last, next, previous, remove, removeAll, retainAll, simultaneous, simultaneous, size, sub, tail, toArray, toArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeSpinByFD, computeSpinDerivativeByFDgetAttitudecontains, containsAllequals, hashCode, parallelStream, removeIf, spliterator, streampublic AngularVelocitiesPolynomialProfile(String nature)
nature - Nature of the sequencepublic AngularVelocitiesPolynomialProfile(List<AngularVelocitiesPolynomialProfileLeg> polynomials)
polynomials - the list of polynomial attitude profile segmentspublic AngularVelocitiesPolynomialProfile(List<AngularVelocitiesPolynomialProfileLeg> polynomials, String nature)
polynomials - the list of polynomial attitude profile segmentsnature - Nature of the sequencepublic Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
getAttitude in interface AttitudeProvidergetAttitude in class StrictAttitudeLegsSequence<AngularVelocitiesPolynomialProfileLeg>pvProv - local position-velocity provider around current datedate - current dateframe - reference frame from which attitude is computedPatriusException - if attitude cannot be computed for provided datepublic void setSpinDerivativesComputation(boolean computeSpinDerivatives)
setSpinDerivativesComputation in interface AttitudeProvidersetSpinDerivativesComputation in class StrictAttitudeLegsSequence<AngularVelocitiesPolynomialProfileLeg>computeSpinDerivatives - true if spin derivatives should be computedpublic Map<AbsoluteDateInterval,double[]> getXCoefficients()
public Map<AbsoluteDateInterval,double[]> getYCoefficients()
public Map<AbsoluteDateInterval,double[]> getZCoefficients()
public String getNature()
public AngularVelocitiesPolynomialProfile copy(AbsoluteDateInterval newInterval)
public String toPrettyString()
String representation.toPrettyString in interface LegtoPrettyString in interface LegsSequence<AngularVelocitiesPolynomialProfileLeg>toPrettyString in interface TimeSequence<AngularVelocitiesPolynomialProfileLeg>String representation.public AbsoluteDateInterval getTimeInterval()
Null is returned if the sequence is empty.
Warning: in case of sequences with holes, the sequence in the returned interval will not contain continuous data.
Sequence is supposed to be continuous.getTimeInterval in interface LeggetTimeInterval in interface LegsSequence<AngularVelocitiesPolynomialProfileLeg>getTimeInterval in class StrictLegsSequence<AngularVelocitiesPolynomialProfileLeg>Copyright © 2021 CNES. All rights reserved.