Package org.orekit.bodies
Class AnalyticalSolarPositionProvider
java.lang.Object
org.orekit.bodies.AnalyticalSolarPositionProvider
- All Implemented Interfaces:
ExtendedPositionProvider,PVCoordinatesProvider
Class computing low-fidelity positions for the Sun. 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:
- 12.2
- Author:
- Romain Serra
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor with default data context.AnalyticalSolarPositionProvider(DataContext dataContext) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected Vector3DComputes the Sun's position vector in EME2000.protected <T extends CalculusFieldElement<T>>
FieldVector3D<T> getFieldEME2000Position(FieldAbsoluteDate<T> date) Computes the Sun'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
-
Constructor Details
-
AnalyticalSolarPositionProvider
Constructor.- Parameters:
dataContext- data context
-
AnalyticalSolarPositionProvider
Constructor with default data context.
-
-
Method Details
-
getEME2000Position
Computes the Sun's position vector in EME2000.- Parameters:
date- date- Returns:
- solar position
-
getFieldEME2000Position
protected <T extends CalculusFieldElement<T>> FieldVector3D<T> getFieldEME2000Position(FieldAbsoluteDate<T> date) Computes the Sun's position vector in EME2000.- Type Parameters:
T- field type- Parameters:
date- date- Returns:
- solar 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
-