Package org.orekit.bodies
Class AnalyticalLunarPositionProvider
java.lang.Object
org.orekit.bodies.AnalyticalLunarPositionProvider
- All Implemented Interfaces:
ExtendedPositionProvider,PVCoordinatesProvider
Class computing low-fidelity positions for the Moon. They should only be used in the decades around the year 2000.
Reference: Montenbruck, Oliver, and Gill, Eberhard. Satellite orbits : models, methods, and applications. Berlin New York: Springer, 2000.
Reference: Montenbruck, Oliver, and Gill, Eberhard. Satellite orbits : models, methods, and applications. Berlin New York: Springer, 2000.
- Since:
- 14.0
- Author:
- Romain Serra
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final SinCosSine anc cosine of approximate ecliptic angle used when converting from ecliptic to EME2000. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor with default data context.AnalyticalLunarPositionProvider(DataContext dataContext) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected Vector3DComputes the Moon's position vector in EME2000.protected <T extends CalculusFieldElement<T>>
FieldVector3D<T> getFieldEME2000Position(FieldAbsoluteDate<T> date) Computes the Moon's position vector in EME2000.getPosition(AbsoluteDate date, Frame frame) Get the position of the body in the selected frame.<T extends CalculusFieldElement<T>>
FieldVector3D<T> getPosition(FieldAbsoluteDate<T> date, Frame frame) Get the position in the selected frame.Getter for time scale.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.utils.ExtendedPositionProvider
getPVCoordinates, getPVCoordinates, getVelocity, getVelocity, toFieldPVCoordinatesProvider
-
Field Details
-
SIN_COS_ECLIPTIC_ANGLE_EME2000
Sine anc cosine of approximate ecliptic angle used when converting from ecliptic to EME2000.
-
-
Constructor Details
-
AnalyticalLunarPositionProvider
Constructor.- Parameters:
dataContext- data context
-
AnalyticalLunarPositionProvider
Constructor with default data context.
-
-
Method Details
-
getEME2000Position
Computes the Moon's position vector in EME2000.- Parameters:
date- date- Returns:
- lunar position
-
getFieldEME2000Position
protected <T extends CalculusFieldElement<T>> FieldVector3D<T> getFieldEME2000Position(FieldAbsoluteDate<T> date) Computes the Moon's position vector in EME2000.- Type Parameters:
T- field type- Parameters:
date- date- Returns:
- lunar position
-
getTimeScale
Getter for time scale.- Returns:
- time scale
-
getPosition
Get the position of the body in the selected frame.- Specified by:
getPositionin interfacePVCoordinatesProvider- Parameters:
date- current dateframe- the frame where to define the position- Returns:
- position of the body (m and)
-
getPosition
public <T extends CalculusFieldElement<T>> FieldVector3D<T> getPosition(FieldAbsoluteDate<T> date, Frame frame) Get the position in the selected frame.- Specified by:
getPositionin interfaceExtendedPositionProvider- Type Parameters:
T- field type- Parameters:
date- current dateframe- the frame where to define the position- Returns:
- position
-