Package org.orekit.frames
Class L1TransformProvider
- java.lang.Object
-
- org.orekit.frames.L1TransformProvider
-
- All Implemented Interfaces:
Serializable
,TransformProvider
public class L1TransformProvider extends Object implements TransformProvider
L1 Transform provider for a frame on the L1 Lagrange point of two celestial bodies.- Author:
- Luc Maisonobe, Julio Hernanz
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description L1TransformProvider(CelestialBody primaryBody, CelestialBody secondaryBody)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StaticTransform
getStaticTransform(AbsoluteDate date)
Get a transform for only rotations and translations on the specified date.<T extends CalculusFieldElement<T>>
FieldStaticTransform<T>getStaticTransform(FieldAbsoluteDate<T> date)
Get a transform for only rotations and translations on the specified date.Transform
getTransform(AbsoluteDate date)
Get theTransform
corresponding to specified date.<T extends CalculusFieldElement<T>>
FieldTransform<T>getTransform(FieldAbsoluteDate<T> date)
Get theFieldTransform
corresponding to specified date.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.frames.TransformProvider
getKinematicTransform, getKinematicTransform
-
-
-
-
Constructor Detail
-
L1TransformProvider
public L1TransformProvider(CelestialBody primaryBody, CelestialBody secondaryBody)
Simple constructor.- Parameters:
primaryBody
- Primary body.secondaryBody
- Secondary body.
-
-
Method Detail
-
getTransform
public Transform getTransform(AbsoluteDate date)
Get theTransform
corresponding to specified date.- Specified by:
getTransform
in interfaceTransformProvider
- Parameters:
date
- current date- Returns:
- transform at specified date
-
getStaticTransform
public 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:
getStaticTransform
in interfaceTransformProvider
- Parameters:
date
- current date.- Returns:
- the static transform.
-
getTransform
public <T extends CalculusFieldElement<T>> FieldTransform<T> getTransform(FieldAbsoluteDate<T> date)
Get theFieldTransform
corresponding to specified date.- Specified by:
getTransform
in interfaceTransformProvider
- Type Parameters:
T
- type of the field elements- Parameters:
date
- current date- Returns:
- transform at specified date
-
getStaticTransform
public <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:
getStaticTransform
in interfaceTransformProvider
- Type Parameters:
T
- type of the elements- Parameters:
date
- current date.- Returns:
- the static transform.
-
-