public class OrientationAngleLegsSequence extends StrictLegsSequence<OrientationAngleLeg> implements OrientationAngleLeg
OrientationAngleLeg
.
This sequence can be handled as an StrictLegsSequence
of OrientationAngleLeg
.LEG_NATURE
Constructor and Description |
---|
OrientationAngleLegsSequence()
Constructor with default value for the legs sequence nature.
|
OrientationAngleLegsSequence(String nature)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
OrientationAngleLegsSequence |
copy(AbsoluteDateInterval newInterval)
Creates a new leg from this one.
|
String |
getNature()
Returns the nature of the leg.
|
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.
|
String |
toPrettyString()
Returns a nice
String representation. |
add, addAll, clear, current, first, first, head, isEmpty, isEmpty, iterator, last, last, next, previous, remove, removeAll, retainAll, simultaneous, simultaneous, size, sub, tail, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
computeSpinByFD, computeSpinDerivativeByFD
computeSpinNumerical
contains, containsAll
equals, hashCode, parallelStream, removeIf, spliterator, stream
public OrientationAngleLegsSequence(String nature)
nature
- nature of the sequencepublic OrientationAngleLegsSequence()
public Double getOrientationAngle(PVCoordinatesProvider pvProv, AbsoluteDate date) throws PatriusException
getOrientationAngle
in interface OrientationAngleProvider
pvProv
- position-velocity provider around current datedate
- datePatriusException
- thrown if the angle cannot be computedpublic String getNature()
public OrientationAngleLegsSequence copy(AbsoluteDateInterval newInterval)
public String toPrettyString()
String
representation.toPrettyString
in interface Leg
toPrettyString
in interface LegsSequence<OrientationAngleLeg>
toPrettyString
in interface TimeSequence<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.getTimeInterval
in interface Leg
getTimeInterval
in interface LegsSequence<OrientationAngleLeg>
getTimeInterval
in class StrictLegsSequence<OrientationAngleLeg>
Copyright © 2021 CNES. All rights reserved.