L - OrientationAngleLegpublic class OrientationAngleLegsSequence<L extends OrientationAngleLeg> extends StrictLegsSequence<L> implements OrientationAngleProvider
OrientationAngleLeg.
This sequence can be handled as an StrictLegsSequence of OrientationAngleLeg.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ORIENTATION_SEQUENCE_NATURE
Default nature.
|
| Constructor and Description |
|---|
OrientationAngleLegsSequence()
Simple constructor with default name defining the legs sequence nature.
|
OrientationAngleLegsSequence(String nature)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
OrientationAngleLegsSequence<L> |
copy(AbsoluteDateInterval newInterval)
Creates a new legs sequence from this one.
|
OrientationAngleLegsSequence<L> |
copy(AbsoluteDateInterval newInterval,
boolean strict)
Creates a new legs sequence from this one.
|
String |
getNature()
Get the legs sequence nature.
|
Double |
getOrientationAngle(PVCoordinatesProvider pvProv,
AbsoluteDate date)
Compute the orientation angle corresponding to an orbital state.
|
AbsoluteDateInterval |
getTimeInterval()
Returns the time interval of the legs sequence.
|
OrientationAngleLegsSequence<L> |
head(AbsoluteDate toT)
Returns a new sequence from the beginning to the given element.
|
OrientationAngleLegsSequence<L> |
head(AbsoluteDate toT,
boolean strict)
Returns a new sequence from the beginning to the given element.
|
OrientationAngleLegsSequence<L> |
sub(AbsoluteDate fromT,
AbsoluteDate toT)
Returns a new sequence extracted.
|
OrientationAngleLegsSequence<L> |
sub(AbsoluteDate fromT,
AbsoluteDate toT,
boolean strict)
Returns a new sequence extracted.
|
OrientationAngleLegsSequence<L> |
sub(AbsoluteDateInterval interval)
Returns a new sequence extracted.
|
OrientationAngleLegsSequence<L> |
sub(AbsoluteDateInterval interval,
boolean strict)
Returns a new sequence extracted.
|
OrientationAngleLegsSequence<L> |
tail(AbsoluteDate fromT)
Returns a new sequence from the given element to the end of the sequence.
|
OrientationAngleLegsSequence<L> |
tail(AbsoluteDate fromT,
boolean strict)
Returns a new sequence from the given element to the end of the sequence.
|
String |
toPrettyString() |
add, 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, waitbuild, computeSpinByFD, computeSpinDerivativeByFD, computeSpinNumericalcontains, containsAllequals, hashCode, parallelStream, removeIf, spliterator, streampublic static final String DEFAULT_ORIENTATION_SEQUENCE_NATURE
public OrientationAngleLegsSequence()
public OrientationAngleLegsSequence(String nature)
nature - nature of the sequencepublic String getNature()
public Double getOrientationAngle(PVCoordinatesProvider pvProv, AbsoluteDate date) throws PatriusException
getOrientationAngle in interface OrientationAngleProviderpvProv - position-velocity provider around current datedate - datenull if input date is not
contained in any leg's time interval of the sequencePatriusException - thrown if the angle cannot be computedpublic String toPrettyString()
toPrettyString in interface LegsSequence<L extends OrientationAngleLeg>toPrettyString in interface TimeSequence<L extends OrientationAngleLeg>toPrettyString in class StrictLegsSequence<L extends OrientationAngleLeg>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 over time.getTimeInterval in interface LegsSequence<L extends OrientationAngleLeg>getTimeInterval in class StrictLegsSequence<L extends OrientationAngleLeg>public OrientationAngleLegsSequence<L> sub(AbsoluteDate fromT, AbsoluteDate toT, boolean strict)
sub in interface LegsSequence<L extends OrientationAngleLeg>sub in class StrictLegsSequence<L extends OrientationAngleLeg>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 OrientationAngleLegsSequence<L> sub(AbsoluteDate fromT, AbsoluteDate toT)
sub in interface LegsSequence<L extends OrientationAngleLeg>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 OrientationAngleLegsSequence<L> sub(AbsoluteDateInterval interval, boolean strict)
sub in interface LegsSequence<L extends OrientationAngleLeg>sub in class StrictLegsSequence<L extends OrientationAngleLeg>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 OrientationAngleLegsSequence<L> sub(AbsoluteDateInterval interval)
sub in interface LegsSequence<L extends OrientationAngleLeg>interval - interval.Sequence object including all elements included in the interval
.
Elements exactly on the interval boundaries are included.public OrientationAngleLegsSequence<L> head(AbsoluteDate toT, boolean strict)
head in interface LegsSequence<L extends OrientationAngleLeg>head in class StrictLegsSequence<L extends OrientationAngleLeg>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 OrientationAngleLegsSequence<L> head(AbsoluteDate toT)
head in interface LegsSequence<L extends OrientationAngleLeg>toT - Any element of this sequence.Sequence object including all elements from the “beginning” to the
given one (included).public OrientationAngleLegsSequence<L> tail(AbsoluteDate fromT, boolean strict)
tail in interface LegsSequence<L extends OrientationAngleLeg>tail in class StrictLegsSequence<L extends OrientationAngleLeg>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 OrientationAngleLegsSequence<L> tail(AbsoluteDate fromT)
tail in interface LegsSequence<L extends OrientationAngleLeg>fromT - Any element of this sequence.Sequence object including all elements from the given one (included) to
the “end” of the
sequence.public OrientationAngleLegsSequence<L> copy(AbsoluteDateInterval newInterval, boolean strict)
copy in interface LegsSequence<L extends OrientationAngleLeg>copy in class StrictLegsSequence<L extends OrientationAngleLeg>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 OrientationAngleLegsSequence<L> copy(AbsoluteDateInterval newInterval)
copy in interface LegsSequence<L extends OrientationAngleLeg>copy in class StrictLegsSequence<L extends OrientationAngleLeg>newInterval - The time interval of the legs sequence to createLegsSequence valid on provided interval. Boundaries are not included in
the new sequence.Copyright © 2024 CNES. All rights reserved.