Class EclipticProvider
- All Implemented Interfaces:
TransformProvider
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
ConstructorsConstructorDescriptionEclipticProvider(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
Modifier and TypeMethodDescriptiondefault KinematicTransformGet 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 StaticTransformGet 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 Details
-
EclipticProvider
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
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 Details
-
getRotation
Compute the ecliptic rotation.- Type Parameters:
T- type of the field elements- Parameters:
date- current date- Returns:
- ecliptic rotation
-
getTransform
Get theTransformcorresponding to specified date.- Specified by:
getTransformin interfaceTransformProvider- Parameters:
date- current date- Returns:
- transform at specified date
-
getKinematicTransform
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
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
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
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
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.
-