Class EclipticProvider
- java.lang.Object
-
- org.orekit.frames.EclipticProvider
-
- All Implemented Interfaces:
TransformProvider
public class EclipticProvider extends Object
An inertial frame aligned with the ecliptic.The IAU defines the ecliptic as "the plane perpendicular to the mean heliocentric orbital angular momentum vector of the Earth-Moon barycentre in the BCRS (IAU 2006 Resolution B1)." The +z axis is aligned with the angular momentum vector, and the +x axis is aligned with +x axis of
MOD.This implementation agrees with the JPL 406 ephemerides to within 0.5 arc seconds.
- Since:
- 7.0
-
-
Constructor Summary
Constructors Constructor Description EclipticProvider(IERSConventions conventions)Create a transform provider from MOD to an ecliptically aligned frame.EclipticProvider(IERSConventions conventions, TimeScales timeScales)Create a transform provider from MOD to an ecliptically aligned frame.
-
Method Summary
All Methods Instance Methods Concrete Methods Default Methods Modifier and Type Method Description default KinematicTransformgetKinematicTransform(AbsoluteDate date)Get a transform for position and velocity, not acceleration.default <T extends CalculusFieldElement<T>>
FieldKinematicTransform<T>getKinematicTransform(FieldAbsoluteDate<T> date)Get a transform for position and velocity, not acceleration.<T extends CalculusFieldElement<T>>
FieldRotation<T>getRotation(FieldAbsoluteDate<T> date)Compute the ecliptic rotation.default StaticTransformgetStaticTransform(AbsoluteDate date)Get a transform for only rotations and translations on the specified date.default <T extends CalculusFieldElement<T>>
FieldStaticTransform<T>getStaticTransform(FieldAbsoluteDate<T> date)Get a transform for only rotations and translations on the specified date.default TransformgetTransform(AbsoluteDate date)Get theTransformcorresponding to specified date.default <T extends CalculusFieldElement<T>>
FieldTransform<T>getTransform(FieldAbsoluteDate<T> date)Get theFieldTransformcorresponding to specified date.
-
-
-
Constructor Detail
-
EclipticProvider
@DefaultDataContext public EclipticProvider(IERSConventions conventions)
Create a transform provider from MOD to an ecliptically aligned frame.This constructor uses the
default data context.- Parameters:
conventions- IERS conventions- See Also:
EclipticProvider(IERSConventions, TimeScales)
-
EclipticProvider
public EclipticProvider(IERSConventions conventions, TimeScales timeScales)
Create a transform provider from MOD to an ecliptically aligned frame.- Parameters:
conventions- IERS conventionstimeScales- to use in computing the transformation.- Since:
- 10.1
-
-
Method Detail
-
getRotation
public <T extends CalculusFieldElement<T>> FieldRotation<T> getRotation(FieldAbsoluteDate<T> date)
Compute the ecliptic rotation.- Type Parameters:
T- type of the field elements- Parameters:
date- current date- Returns:
- ecliptic rotation
-
getTransform
public default Transform getTransform(AbsoluteDate date)
Get theTransformcorresponding to specified date.- Specified by:
getTransformin interfaceTransformProvider- Parameters:
date- current date- Returns:
- transform at specified date
-
getKinematicTransform
public default KinematicTransform getKinematicTransform(AbsoluteDate date)
Get a transform for position and velocity, not acceleration.The default implementation returns
TransformProvider.getTransform(AbsoluteDate)but implementations may override it for better performance.- Specified by:
getKinematicTransformin interfaceTransformProvider- Parameters:
date- current date.- Returns:
- the kinematic transform.
-
getStaticTransform
public default StaticTransform getStaticTransform(AbsoluteDate date)
Get a transform for only rotations and translations on the specified date.The default implementation calls
TransformProvider.getTransform(AbsoluteDate)but implementations may override it for better performance.- Specified by:
getStaticTransformin interfaceTransformProvider- Parameters:
date- current date.- Returns:
- the static transform.
-
getTransform
public default <T extends CalculusFieldElement<T>> FieldTransform<T> getTransform(FieldAbsoluteDate<T> date)
Get theFieldTransformcorresponding to specified date.- Specified by:
getTransformin interfaceTransformProvider- Type Parameters:
T- type of the field elements- Parameters:
date- current date- Returns:
- transform at specified date
-
getKinematicTransform
public default <T extends CalculusFieldElement<T>> FieldKinematicTransform<T> getKinematicTransform(FieldAbsoluteDate<T> date)
Get a transform for position and velocity, not acceleration.The default implementation returns
TransformProvider.getTransform(AbsoluteDate)but implementations may override it for better performance.- Specified by:
getKinematicTransformin interfaceTransformProvider- Type Parameters:
T- type of the elements- Parameters:
date- current date.- Returns:
- the kinematic transform.
-
getStaticTransform
public default <T extends CalculusFieldElement<T>> FieldStaticTransform<T> getStaticTransform(FieldAbsoluteDate<T> date)
Get a transform for only rotations and translations on the specified date.The default implementation returns
TransformProvider.getTransform(AbsoluteDate)but implementations may override it for better performance.- Specified by:
getStaticTransformin interfaceTransformProvider- Type Parameters:
T- type of the elements- Parameters:
date- current date.- Returns:
- the static transform.
-
-