public final class AttitudeProfilesSequence extends StrictAttitudeLegsSequence<AttitudeProfile>
AttitudeProfile.| Constructor and Description |
|---|
AttitudeProfilesSequence() |
| Modifier and Type | Method and Description |
|---|---|
AttitudeProfilesSequence |
copy(AbsoluteDateInterval newInterval)
Creates a new legs sequence from this one.
|
AttitudeProfilesSequence |
copy(AbsoluteDateInterval newInterval,
boolean strict)
Creates a new legs sequence from this one.
|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Gets the attitude from the sequence.
|
AbsoluteDateInterval |
getTimeInterval()
Returns the time interval of the legs sequence.
|
AttitudeProfilesSequence |
head(AbsoluteDate toT)
Returns a new sequence from the beginning to the given element.
|
AttitudeProfilesSequence |
head(AbsoluteDate toT,
boolean strict)
Returns a new sequence from the beginning to the given element.
|
void |
setSpinDerivativesComputation(boolean computeSpinDerivatives)
Method to activate spin derivative computation.
|
AttitudeProfilesSequence |
sub(AbsoluteDate fromT,
AbsoluteDate toT)
Returns a new sequence extracted.
|
AttitudeProfilesSequence |
sub(AbsoluteDate fromT,
AbsoluteDate toT,
boolean strict)
Returns a new sequence extracted.
|
AttitudeProfilesSequence |
sub(AbsoluteDateInterval interval)
Returns a new sequence extracted.
|
AttitudeProfilesSequence |
sub(AbsoluteDateInterval interval,
boolean strict)
Returns a new sequence extracted.
|
AttitudeProfilesSequence |
tail(AbsoluteDate fromT)
Returns a new sequence from the given element to the end of the sequence.
|
AttitudeProfilesSequence |
tail(AbsoluteDate fromT,
boolean strict)
Returns a new sequence from the given element to the end of the sequence.
|
String |
toPrettyString() |
isSpinDerivativesComputationadd, addAll, clear, copy, current, first, first, getSet, head, isEmpty, isEmpty, iterator, last, last, next, previous, remove, removeAll, retainAll, simultaneous, simultaneous, size, sub, tail, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcomputeSpinByFD, computeSpinDerivativeByFD, getAttitudecontains, containsAllequals, hashCode, parallelStream, removeIf, spliterator, streampublic 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 toPrettyString()
toPrettyString in interface LegsSequence<AttitudeProfile>toPrettyString in interface TimeSequence<AttitudeProfile>toPrettyString in class StrictLegsSequence<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 LegsSequence<AttitudeProfile>getTimeInterval in class StrictLegsSequence<AttitudeProfile>public AttitudeProfilesSequence sub(AbsoluteDate fromT, AbsoluteDate toT, boolean strict)
sub in interface LegsSequence<AttitudeProfile>sub in class StrictAttitudeLegsSequence<AttitudeProfile>fromT - Any element of this sequence.toT - Any element of this sequence.strict - true if boundaries shall not be included in the extracted sequence, false otherwise.Sequence object including all elements from the given one fromT
to the given one.
Elements exactly on the interval boundaries are included only if strict =
false.public AttitudeProfilesSequence sub(AbsoluteDate fromT, AbsoluteDate toT)
sub in interface LegsSequence<AttitudeProfile>sub in class StrictAttitudeLegsSequence<AttitudeProfile>fromT - Any element of this sequence.toT - Any element of this sequence.Sequence object including all elements from the given one fromT
to the given one toT (both included).public AttitudeProfilesSequence sub(AbsoluteDateInterval interval, boolean strict)
sub in interface LegsSequence<AttitudeProfile>sub in class StrictAttitudeLegsSequence<AttitudeProfile>interval - interval.strict - true if boundaries shall not be included in the extracted sequence, false otherwise.Sequence object including all elements included in the interval
.
Elements exactly on the interval boundaries are included only if strict =
false.public AttitudeProfilesSequence sub(AbsoluteDateInterval interval)
sub in interface LegsSequence<AttitudeProfile>sub in class StrictAttitudeLegsSequence<AttitudeProfile>interval - interval.Sequence object including all elements included in the interval
.
Elements exactly on the interval boundaries are included.public AttitudeProfilesSequence head(AbsoluteDate toT, boolean strict)
head in interface LegsSequence<AttitudeProfile>head in class StrictAttitudeLegsSequence<AttitudeProfile>toT - Any element of this sequence.strict - true if boundary shall not be included in the extracted sequence, false otherwise.Sequence object including all elements from the “beginning” to the
given one (included only
if strict = false).public AttitudeProfilesSequence head(AbsoluteDate toT)
head in interface LegsSequence<AttitudeProfile>head in class StrictAttitudeLegsSequence<AttitudeProfile>toT - Any element of this sequence.Sequence object including all elements from the “beginning” to the
given one (included).public AttitudeProfilesSequence tail(AbsoluteDate fromT, boolean strict)
tail in interface LegsSequence<AttitudeProfile>tail in class StrictAttitudeLegsSequence<AttitudeProfile>fromT - Any element of this sequence.strict - true if boundary shall not be included in the extracted sequence, false otherwise.Sequence object including all elements from the given one (included
only
if strict = false) to the “end” of the sequence.public AttitudeProfilesSequence tail(AbsoluteDate fromT)
tail in interface LegsSequence<AttitudeProfile>tail in class StrictAttitudeLegsSequence<AttitudeProfile>fromT - Any element of this sequence.Sequence object including all elements from the given one (included) to
the “end” of the
sequence.public AttitudeProfilesSequence copy(AbsoluteDateInterval newInterval, boolean strict)
copy in interface LegsSequence<AttitudeProfile>copy in class StrictAttitudeLegsSequence<AttitudeProfile>newInterval - The time interval of the legs sequence to createstrict - true if boundaries shall not be included in the new sequence, false otherwise.LegsSequence valid on provided intervalpublic AttitudeProfilesSequence copy(AbsoluteDateInterval newInterval)
copy in interface LegsSequence<AttitudeProfile>copy in class StrictAttitudeLegsSequence<AttitudeProfile>newInterval - The time interval of the legs sequence to createLegsSequence valid on provided interval. Boundaries are not included in
the new sequence.Copyright © 2025 CNES. All rights reserved.