public final class AttitudeProfilesSequence extends AbstractLegsSequence<AttitudeProfile> implements AttitudeProfile
AttitudeProfile
.Constructor and Description |
---|
AttitudeProfilesSequence(String nature)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Attitude |
getAttitude(Orbit orbit)
Compute the attitude corresponding to an orbital state.
|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Gets the attitude from the sequence.
|
void |
setSpinDerivativesComputation(boolean computeSpinDerivatives)
Method to activate spin derivative computation.
|
add, addAll, ceiling, clear, comparator, contains, containsAll, descendingIterator, descendingSet, first, floor, getLeg, getNature, getTimeInterval, hasOverlaping, headSet, headSet, higher, isCompact, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, removeAll, retainAll, size, subSet, subSet, tailSet, tailSet, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNature, getTimeInterval
spliterator
parallelStream, removeIf, stream
public AttitudeProfilesSequence(String nature)
nature
- nature of the sequencepublic 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 AttitudeProvider
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 Attitude getAttitude(Orbit orbit) throws PatriusException
getAttitude
in interface AttitudeProvider
orbit
- current orbitPatriusException
- if attitude cannot be computedpublic void setSpinDerivativesComputation(boolean computeSpinDerivatives) throws PatriusException
setSpinDerivativesComputation
in interface AttitudeProvider
computeSpinDerivatives
- true if spin derivatives should be computedPatriusException
- if spin derivatives can not be computedCopyright © 2019 CNES. All rights reserved.