Package org.orekit.bodies
Class AnalyticalSolarPositionProvider
- java.lang.Object
-
- org.orekit.bodies.AnalyticalSolarPositionProvider
-
- All Implemented Interfaces:
ExtendedPositionProvider
,PVCoordinatesProvider
public class AnalyticalSolarPositionProvider extends Object implements ExtendedPositionProvider
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.- Since:
- 12.2
- Author:
- Romain Serra
-
-
Constructor Summary
Constructors Constructor Description AnalyticalSolarPositionProvider()
Constructor with default data context.AnalyticalSolarPositionProvider(DataContext dataContext)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector3D
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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.utils.ExtendedPositionProvider
getPVCoordinates, getPVCoordinates, toExtendedPVCoordinatesProvider, toFieldPVCoordinatesProvider
-
-
-
-
Constructor Detail
-
AnalyticalSolarPositionProvider
public AnalyticalSolarPositionProvider(DataContext dataContext)
Constructor.- Parameters:
dataContext
- data context
-
AnalyticalSolarPositionProvider
@DefaultDataContext public AnalyticalSolarPositionProvider()
Constructor with default data context.
-
-
Method Detail
-
getPosition
public Vector3D getPosition(AbsoluteDate date, Frame frame)
Get the position of the body in the selected frame.- Specified by:
getPosition
in 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:
getPosition
in interfaceExtendedPositionProvider
- Type Parameters:
T
- field type- Parameters:
date
- current dateframe
- the frame where to define the position- Returns:
- position
-
-