public class RelativeTabulatedAttitudeLeg extends Object implements AttitudeLeg
TabulatedAttitude class.| Constructor and Description |
|---|
RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate,
Frame frame,
List<Pair<Double,AngularCoordinates>> angularCoordinates)
Build a RelativeTabulatedAttitudeLeg with a reference date, a list of angular coordinates
associated with a double representing the time elapsed since the reference date.
|
RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate,
Frame frame,
List<Pair<Double,AngularCoordinates>> angularCoordinates,
String natureIn)
Build a RelativeTabulatedAttitudeLeg with a reference date, a list of angular coordinates
associated with a double representing the time elapsed since the reference date.
|
RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate,
List<Pair<Double,AngularCoordinates>> angularCoordinates,
int nbInterpolationPoints,
Frame frame)
Build a RelativeTabulatedAttitudeLeg with a reference date, a list of angular coordinates
associated with a double representing the time elapsed since the reference date
and a number of points used for interpolation.
|
RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate,
List<Pair<Double,AngularCoordinates>> angularCoordinates,
int nbInterpolationPoints,
Frame frame,
String natureIn)
Build a RelativeTabulatedAttitudeLeg with a reference date, a list of angular coordinates
associated with a double representing the time elapsed since the reference date and a number
of points used for interpolation.
|
RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate,
List<Pair<Double,Rotation>> orientations,
Frame frame)
Build a RelativeTabulatedAttitudeLeg with a reference date, a list of Rotations
associated with a double representing the time elapsed since the reference date.
|
RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate,
List<Pair<Double,Rotation>> orientations,
Frame frame,
int nbInterpolationPoints)
Build a RelativeTabulatedAttitudeLeg with a reference date, a list of Rotations
associated with a double representing the time elapsed since the reference date
and a number of points used for interpolation.
|
RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate,
List<Pair<Double,Rotation>> orientations,
Frame frame,
int nbInterpolationPoints,
String natureIn)
Build a RelativeTabulatedAttitudeLeg with a reference date, a list of Rotations associated
with a double representing the time elapsed since the reference date and a number of points
used for interpolation.
|
RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate,
List<Pair<Double,Rotation>> orientations,
Frame frame,
String natureIn)
Build a RelativeTabulatedAttitudeLeg with a reference date, a list of Rotations associated
with a double representing the time elapsed since the reference date.
|
| 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)
Compute the attitude corresponding to an orbital state.
|
String |
getNature()
Return the nature of the leg.
|
AbsoluteDateInterval |
getTimeInterval()
Return the time interval of validity of the leg
|
void |
setSpinDerivativesComputation(boolean computeSpinDerivatives)
Method to activate spin derivative computation.
|
void |
truncate(AbsoluteDateInterval newIntervalOfValidityIn)
Truncate the time interval of validity of the leg
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoPrettyStringpublic RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate, List<Pair<Double,Rotation>> orientations, Frame frame) throws PatriusException
TabulatedAttitude)
Rotations rates (set to 0's) will not be used for interpolation.referenceDate - reference dateorientations - rotations. WARNING : these must be chronologically ordered.frame - reference frame from which attitude is computedPatriusException - thrown if there is not enough data for Hermite interpolationpublic RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate, List<Pair<Double,Rotation>> orientations, Frame frame, int nbInterpolationPoints) throws PatriusException
referenceDate - reference dateorientations - rotations. WARNING : these must be chronologically ordered.frame - reference frame from which attitude is computednbInterpolationPoints - nbInterpolationPoints number of points used for interpolationPatriusException - thrown if there is not enough data for Hermite interpolationpublic RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate, Frame frame, List<Pair<Double,AngularCoordinates>> angularCoordinates) throws PatriusException
TabulatedAttitude)referenceDate - reference dateangularCoordinates - angular coordinates. WARNING : these must be chronologically ordered.frame - reference frame from which attitude is computedPatriusException - thrown if there is not enough data for Hermite interpolationpublic RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate, List<Pair<Double,AngularCoordinates>> angularCoordinates, int nbInterpolationPoints, Frame frame) throws PatriusException
referenceDate - reference dateangularCoordinates - angular coordinates WARNING : these must be chronologically ordered.frame - reference frame from which attitude is computednbInterpolationPoints - nbInterpolationPoints number of points used for interpolationPatriusException - thrown if there is not enough data for Hermite interpolationpublic RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate, List<Pair<Double,Rotation>> orientations, Frame frame, String natureIn) throws PatriusException
TabulatedAttitude) Rotations
rates (set to 0's) will not be used for interpolation.referenceDate - reference dateorientations - rotations. WARNING : these must be chronologically ordered.frame - reference frame from which attitude is computednatureIn - leg naturePatriusException - thrown if there is not enough data for Hermite interpolationpublic RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate, List<Pair<Double,Rotation>> orientations, Frame frame, int nbInterpolationPoints, String natureIn) throws PatriusException
referenceDate - reference dateorientations - rotations. WARNING : these must be chronologically ordered.frame - reference frame from which attitude is computednbInterpolationPoints - nbInterpolationPoints number of points used for interpolationnatureIn - leg naturePatriusException - thrown if there is not enough data for Hermite interpolationpublic RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate, Frame frame, List<Pair<Double,AngularCoordinates>> angularCoordinates, String natureIn) throws PatriusException
TabulatedAttitude)referenceDate - reference dateangularCoordinates - angular coordinates. WARNING : these must be chronologically
ordered.frame - reference frame from which attitude is computednatureIn - leg naturePatriusException - thrown if there is not enough data for Hermite interpolationpublic RelativeTabulatedAttitudeLeg(AbsoluteDate referenceDate, List<Pair<Double,AngularCoordinates>> angularCoordinates, int nbInterpolationPoints, Frame frame, String natureIn) throws PatriusException
referenceDate - reference dateangularCoordinates - angular coordinates WARNING : these must be chronologically
ordered.frame - reference frame from which attitude is computednbInterpolationPoints - nbInterpolationPoints number of points used for interpolationnatureIn - leg naturePatriusException - thrown if there is not enough data for Hermite interpolationpublic AbsoluteDateInterval getTimeInterval()
getTimeInterval in interface Legpublic Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
getAttitude in interface AttitudeProviderpvProv - local position-velocity provider around current datedate - current dateframe - reference frame from which attitude is computedPatriusException - if attitude cannot be computedpublic Attitude getAttitude(Orbit orbit) throws PatriusException
getAttitude in interface AttitudeProviderorbit - current orbitPatriusException - if attitude cannot be computedpublic void setSpinDerivativesComputation(boolean computeSpinDerivatives)
throws PatriusException
setSpinDerivativesComputation in interface AttitudeProvidercomputeSpinDerivatives - true if spin derivatives should be computedPatriusException - if spin derivatives can not be computedpublic String getNature()
public void truncate(AbsoluteDateInterval newIntervalOfValidityIn) throws PatriusException
truncate in interface LegnewIntervalOfValidityIn - the new time intervalPatriusException - if the new time interval is not included in the current time intervalCopyright © 2020 CNES. All rights reserved.