public abstract class FieldStateMapper<T extends RealFieldElement<T>> extends Object
FieldSpacecraftState
instances.Modifier | Constructor and Description |
---|---|
protected |
FieldStateMapper(FieldAbsoluteDate<T> referenceDate,
T mu,
OrbitType orbitType,
PositionAngle positionAngleType,
AttitudeProvider attitudeProvider,
Frame frame)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
AttitudeProvider |
getAttitudeProvider()
Get the attitude provider.
|
Frame |
getFrame()
Get the inertial frame.
|
T |
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,
PropagationType type)
Map the raw double components to a spacecraft state.
|
FieldSpacecraftState<T> |
mapArrayToState(T t,
T[] y,
T[] yDot,
PropagationType type)
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, T 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 T 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, PropagationType type)
t
- date offsety
- state componentsyDot
- state derivative componentstype
- type of the elements used to build the state (mean or osculating)public abstract FieldSpacecraftState<T> mapArrayToState(FieldAbsoluteDate<T> date, T[] y, T[] yDot, PropagationType type)
date
- of the state componentsy
- state componentsyDot
- state derivative componentstype
- type of the elements used to build the state (mean or osculating).public abstract void mapStateToArray(FieldSpacecraftState<T> state, T[] y, T[] yDot)
state
- state to mapy
- placeholder where to put the componentsyDot
- placeholder where to put the components derivativesCopyright © 2002-2019 CS Systèmes d'information. All rights reserved.