public abstract class FieldStateMapper<T extends RealFieldElement<T>> extends Object
FieldSpacecraftState
instances.Modifier | Constructor | Description |
---|---|---|
protected |
FieldStateMapper(FieldAbsoluteDate<T> referenceDate,
double mu,
OrbitType orbitType,
PositionAngle positionAngleType,
AttitudeProvider attitudeProvider,
Frame frame) |
Simple constructor.
|
Modifier and Type | Method | Description |
---|---|---|
AttitudeProvider |
getAttitudeProvider() |
Get the attitude provider.
|
Frame |
getFrame() |
Get the inertial frame.
|
double |
getMu() |
Get the central attraction coefficient μ.
|
OrbitType |
getOrbitType() |
Get propagation parameter type.
|
PositionAngle |
getPositionAngleType() |
Get propagation parameter type.
|
FieldAbsoluteDate<T> |
getReferenceDate() |
Get reference date.
|
abstract FieldSpacecraftState<T> |
mapArrayToState(FieldAbsoluteDate<T> date,
T[] y,
T[] yDot,
boolean meanOnly) |
Map the raw double components to a spacecraft state.
|
FieldSpacecraftState<T> |
mapArrayToState(T t,
T[] y,
T[] yDot,
boolean meanOnly) |
Map the raw double components to a spacecraft state.
|
T |
mapDateToDouble(FieldAbsoluteDate<T> date) |
Map a date to a raw double time offset.
|
FieldAbsoluteDate<T> |
mapDoubleToDate(T t) |
Map the raw double time offset to a date.
|
FieldAbsoluteDate<T> |
mapDoubleToDate(T t,
FieldAbsoluteDate<T> date) |
Map the raw double time offset to a date.
|
abstract void |
mapStateToArray(FieldSpacecraftState<T> state,
T[] y,
T[] yDot) |
Map a spacecraft state to raw double components.
|
void |
setPositionAngleType() |
Set position angle type.
|
protected FieldStateMapper(FieldAbsoluteDate<T> referenceDate, double mu, OrbitType orbitType, PositionAngle positionAngleType, AttitudeProvider attitudeProvider, Frame frame)
The position parameter type is meaningful only if propagation orbit type
support it. As an example, it is not meaningful for propagation
in Cartesian
parameters.
referenceDate
- reference datemu
- central attraction coefficient (m³/s²)orbitType
- orbit type to use for mappingpositionAngleType
- angle type to use for propagationattitudeProvider
- attitude providerframe
- inertial framepublic FieldAbsoluteDate<T> getReferenceDate()
public OrbitType getOrbitType()
public void setPositionAngleType()
public PositionAngle getPositionAngleType()
public double getMu()
public Frame getFrame()
public AttitudeProvider getAttitudeProvider()
public FieldAbsoluteDate<T> mapDoubleToDate(T t)
t
- date offsetpublic FieldAbsoluteDate<T> mapDoubleToDate(T t, FieldAbsoluteDate<T> date)
t
- date offsetdate
- The expected date.date
if it is the same time as t
to within the
lower precision of the latter. Otherwise a new date is returned that
corresponds to time t
.public T mapDateToDouble(FieldAbsoluteDate<T> date)
date
- datepublic FieldSpacecraftState<T> mapArrayToState(T t, T[] y, T[] yDot, boolean meanOnly) throws OrekitException
t
- date offsety
- state componentsyDot
- state derivative componentsmeanOnly
- use only the mean elements to build the stateOrekitException
- if array is inconsistent or cannot be mappedpublic abstract FieldSpacecraftState<T> mapArrayToState(FieldAbsoluteDate<T> date, T[] y, T[] yDot, boolean meanOnly) throws OrekitException
date
- of the state componentsy
- state componentsyDot
- state derivative componentsmeanOnly
- use only the mean elements to build the stateOrekitException
- if array is inconsistent or cannot be mappedpublic abstract void mapStateToArray(FieldSpacecraftState<T> state, T[] y, T[] yDot) throws OrekitException
state
- state to mapy
- placeholder where to put the componentsyDot
- placeholder where to put the components derivativesOrekitException
- if state is inconsistent or cannot be mappedCopyright © 2002-2018 CS Systèmes d'information. All rights reserved.