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<? extends Attitude> attitudesIn)
Constructor with default number N of points used for interpolation.
|
TabulatedAttitude(List<? extends Attitude> attitudesIn,
int nbInterpolationPoints)
Constructor with number of points used for interpolation.
|
TabulatedAttitude(List<? extends Attitude> attitudesIn,
int nbInterpolationPoints,
boolean needOrdering,
String natureIn)
Constructor with number of points used for interpolation.
|
TabulatedAttitude(List<? extends Attitude> attitudesIn,
int nbInterpolationPoints,
String natureIn)
Constructor with number of points used for interpolation.
|
TabulatedAttitude(List<? extends Attitude> attitudesIn,
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()
Getter for the angular derivative filter.
|
Attitude |
getAttitude(AbsoluteDate date)
Compute the attitude on the specified date in the reference frame.
|
Attitude |
getAttitude(AbsoluteDate date,
Frame frame)
Compute the attitude on the specified date.
|
Attitude |
getAttitude(PVCoordinatesProvider pvProvider,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
List<Attitude> |
getAttitudes()
Getter for the non-interpolated and rightly ordered attitudes.
|
double[] |
getDurations()
Getter for the durations.
|
protected int |
getInterpolationOrder()
Getter for the interpolation order.
|
String |
getNature()
Returns the nature of the leg.
|
Frame |
getReferenceFrame()
Getter for the reference frame.
|
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<? extends Attitude> attitudesIn) throws PatriusException
attitudesIn - the list of attitudes. WARNING : these attitudes must be ordered.PatriusException - if there is not enough data for Hermite interpolationpublic TabulatedAttitude(List<? extends Attitude> attitudesIn, int nbInterpolationPoints) throws PatriusException
attitudesIn - the list of attitudes. WARNING : these attitudes must be ordered.nbInterpolationPoints - number of points used for interpolation-1 is accepted to use the old
Attitude.slerp constructorPatriusException - if the number of points used for interpolation is < 1 and != -1public TabulatedAttitude(List<? extends Attitude> attitudesIn, String natureIn) throws PatriusException
attitudesIn - the list of attitudes. WARNING : these attitudes must be ordered.natureIn - leg naturePatriusException - if there is not enough data for Hermite interpolationpublic TabulatedAttitude(List<? extends Attitude> attitudesIn, int nbInterpolationPoints, String natureIn) throws PatriusException
attitudesIn - the list of attitudes. WARNING : these attitudes must be ordered.nbInterpolationPoints - number of points used for interpolation-1 is accepted to use the old
Attitude.slerp constructornatureIn - leg naturePatriusException - if the number of points used for interpolation is < 1 and != -1public TabulatedAttitude(List<? extends Attitude> attitudesIn, int nbInterpolationPoints, boolean needOrdering, String natureIn) throws PatriusException
attitudesIn - the list of attitudesnbInterpolationPoints - number of points used for interpolation-1 is accepted to use the old
Attitude.slerp constructorneedOrdering - true if ordering is required (otherwise the attitudes must be ordered)natureIn - leg naturePatriusException - if the number of points used for interpolation is < 1 and != -1needOrdering = false) but their aren't in chronological
orderpublic 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 Attitude getAttitude(AbsoluteDate date) throws PatriusException
date - current datePatriusException - if attitude cannot be computed for provided datepublic Attitude getAttitude(AbsoluteDate date, Frame frame) throws PatriusException
date - 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 Frame getReferenceFrame()
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 © 2024 CNES. All rights reserved.