public class EclipticProvider extends Object implements 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.
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Transform |
getTransform(AbsoluteDate date)
Get the
Transform corresponding to specified date. |
<T extends CalculusFieldElement<T>> |
getTransform(FieldAbsoluteDate<T> date)
Get the
FieldTransform corresponding to specified date. |
@DefaultDataContext public EclipticProvider(IERSConventions conventions)
This constructor uses the default data context
.
conventions
- IERS conventionsEclipticProvider(IERSConventions, TimeScales)
public EclipticProvider(IERSConventions conventions, TimeScales timeScales)
conventions
- IERS conventionstimeScales
- to use in computing the transformation.public Transform getTransform(AbsoluteDate date)
TransformProvider
Transform
corresponding to specified date.getTransform
in interface TransformProvider
date
- current datepublic <T extends CalculusFieldElement<T>> FieldTransform<T> getTransform(FieldAbsoluteDate<T> date)
TransformProvider
FieldTransform
corresponding to specified date.getTransform
in interface TransformProvider
T
- type of the field elementsdate
- current dateCopyright © 2002-2021 CS GROUP. All rights reserved.