public class TabulatedAttitude extends Object implements AttitudeLeg
This class implements the tabulated attitude leg.
AttitudeLeg,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_INTERP_ORDER
Default number of points used for interpolation.
|
LEG_NATURE| Constructor and Description |
|---|
TabulatedAttitude(List<Attitude> inAttitudes)
Constructor with default number N of points used for interpolation.
|
TabulatedAttitude(List<Attitude> inAttitudes,
int nbInterpolationPoints)
Constructor with number of points used for interpolation
|
TabulatedAttitude(List<Attitude> inAttitudes,
int nbInterpolationPoints,
String natureIn)
Constructor with number of points used for interpolation
|
TabulatedAttitude(List<Attitude> inAttitudes,
String natureIn)
Constructor with default number N of points used for interpolation.
|
| Modifier and Type | Method and Description |
|---|---|
TabulatedAttitude |
copy(AbsoluteDateInterval newIntervalOfValidity)
Creates a new leg from this one.
|
protected AngularDerivativesFilter |
getAngularDerivativeFilter()
Returns the angular derivative filter.
|
Attitude |
getAttitude(PVCoordinatesProvider pvProvider,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
List<Attitude> |
getAttitudes()
Get the non-interpolated and rightly ordered attitudes.
|
double[] |
getDurations()
Getter for durations.
|
protected int |
getInterpolationOrder()
Return the interpolation order.
|
String |
getNature()
Returns the nature of the leg.
|
AbsoluteDateInterval |
getTimeInterval()
Returns the time interval of the leg.
|
boolean |
isSpinDerivativesComputation()
Returns spin derivatives computation flag.
|
void |
setAngularDerivativesFilter(AngularDerivativesFilter angularDerivativeFilter)
Setter for the filter to use in interpolation.
|
void |
setSpinDerivativesComputation(boolean computeSpinDerivatives)
Method to activate spin derivative computation.
|
TabulatedAttitude |
setTimeInterval(AbsoluteDateInterval interval)
Return a new law with the specified interval.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeSpinByFD, computeSpinDerivativeByFDcontains, getDate, getEnd, toPrettyStringgetAttitudepublic static final int DEFAULT_INTERP_ORDER
public TabulatedAttitude(List<Attitude> inAttitudes) throws PatriusException
inAttitudes - the list of attitudes. WARNING : these attitudes must be ordered.PatriusException - if the number of point is too small for interpolatingpublic TabulatedAttitude(List<Attitude> inAttitudes, int nbInterpolationPoints) throws PatriusException
inAttitudes - the list of attitudes. WARNING : these attitudes must be ordered.nbInterpolationPoints - number of points used for interpolationPatriusException - if the number of point is too small for interpolatingpublic TabulatedAttitude(List<Attitude> inAttitudes, String natureIn) throws PatriusException
inAttitudes - the list of attitudes. WARNING : these attitudes must be ordered.natureIn - leg naturePatriusException - if the number of point is too small for interpolatingpublic TabulatedAttitude(List<Attitude> inAttitudes, int nbInterpolationPoints, String natureIn) throws PatriusException
inAttitudes - the list of attitudes. WARNING : these attitudes must be ordered.nbInterpolationPoints - number of points used for interpolationnatureIn - leg naturePatriusException - if the number of point is too small for interpolatingpublic AbsoluteDateInterval getTimeInterval()
getTimeInterval in interface Legpublic Attitude getAttitude(PVCoordinatesProvider pvProvider, AbsoluteDate date, Frame frame) throws PatriusException
getAttitude in interface AttitudeProviderpvProvider - local position-velocity provider around current datedate - current dateframe - reference frame from which attitude is computedPatriusException - if attitude cannot be computed for provided datepublic TabulatedAttitude setTimeInterval(AbsoluteDateInterval interval)
interval - new interval of validitypublic List<Attitude> getAttitudes()
public double[] getDurations()
public void setSpinDerivativesComputation(boolean computeSpinDerivatives)
setSpinDerivativesComputation in interface AttitudeProvidercomputeSpinDerivatives - true if spin derivatives should be computedpublic String getNature()
public TabulatedAttitude copy(AbsoluteDateInterval newIntervalOfValidity)
copy in interface AttitudeLegcopy in interface LegnewIntervalOfValidity - The time interval of the leg to createLeg valid on provided intervalpublic boolean isSpinDerivativesComputation()
public void setAngularDerivativesFilter(AngularDerivativesFilter angularDerivativeFilter)
angularDerivativeFilter - the filter to setprotected AngularDerivativesFilter getAngularDerivativeFilter()
protected int getInterpolationOrder()
Copyright © 2022 CNES. All rights reserved.