Package org.orekit.attitudes
Class InertialProvider
- java.lang.Object
-
- org.orekit.attitudes.InertialProvider
-
- All Implemented Interfaces:
Serializable
,AttitudeProvider
public class InertialProvider extends Object implements AttitudeProvider
This class handles an inertial attitude provider.Instances of this class are guaranteed to be immutable.
- Author:
- Luc Maisonobe
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static InertialProvider
EME2000_ALIGNED
Dummy attitude provider, perfectly aligned with the EME2000 frame.
-
Constructor Summary
Constructors Constructor Description InertialProvider(org.hipparchus.geometry.euclidean.threed.Rotation rotation)
Creates new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends org.hipparchus.RealFieldElement<T>>
FieldAttitude<T>getAttitude(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
Compute the attitude corresponding to an orbital state.Attitude
getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
Compute the attitude corresponding to an orbital state.
-
-
-
Field Detail
-
EME2000_ALIGNED
public static final InertialProvider EME2000_ALIGNED
Dummy attitude provider, perfectly aligned with the EME2000 frame.
-
-
Method Detail
-
getAttitude
public Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
Compute the attitude corresponding to an orbital state.- Specified by:
getAttitude
in interfaceAttitudeProvider
- Parameters:
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computed- Returns:
- attitude attitude on the specified date and position-velocity state
-
getAttitude
public <T extends org.hipparchus.RealFieldElement<T>> FieldAttitude<T> getAttitude(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
Compute the attitude corresponding to an orbital state.- Specified by:
getAttitude
in interfaceAttitudeProvider
- Type Parameters:
T
- type of the field elements- Parameters:
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computed- Returns:
- attitude attitude on the specified date and position-velocity state
-
-