public final class AttitudeProfilesSequence extends StrictAttitudeLegsSequence<AttitudeProfile> implements AttitudeProfile
AttitudeProfile.LEG_NATURE| Constructor and Description |
|---|
AttitudeProfilesSequence()
Constructor with default nature.
|
AttitudeProfilesSequence(String nature)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AttitudeProfilesSequence |
copy(AbsoluteDateInterval newInterval)
Creates a new leg from this one.
|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Gets the attitude from the sequence.
|
String |
getNature()
Returns the nature of the leg.
|
AbsoluteDateInterval |
getTimeInterval()
Returns the time interval of the legs sequence.
|
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 AttitudeProfilesSequence(String nature)
nature - nature of the sequencepublic AttitudeProfilesSequence()
public Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
AttitudeProfile matching the date is called to compute the attitude. If none is
found, an PatriusException is thrown. If two laws are juxtaposed at the given date,
the SECOND law is the valid one.getAttitude in interface AttitudeProvidergetAttitude in class StrictAttitudeLegsSequence<AttitudeProfile>pvProv - spacecraft's position and velocity coordinates providerdate - the date for which the attitude is computedframe - the frame for which the attitude is computedPatriusException - thrown if the date is out of the sequence's rangepublic void setSpinDerivativesComputation(boolean computeSpinDerivatives)
setSpinDerivativesComputation in interface AttitudeProvidersetSpinDerivativesComputation in class StrictAttitudeLegsSequence<AttitudeProfile>computeSpinDerivatives - true if spin derivatives should be computedpublic String getNature()
public AttitudeProfilesSequence copy(AbsoluteDateInterval newInterval)
public String toPrettyString()
String representation.toPrettyString in interface LegtoPrettyString in interface LegsSequence<AttitudeProfile>toPrettyString in interface TimeSequence<AttitudeProfile>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<AttitudeProfile>getTimeInterval in class StrictLegsSequence<AttitudeProfile>Copyright © 2021 CNES. All rights reserved.