Package org.orekit.attitudes
Class FieldInertiaAxis<T extends CalculusFieldElement<T>>
- java.lang.Object
-
- org.orekit.attitudes.FieldInertiaAxis<T>
-
- Type Parameters:
T
- type fof the field elements
public class FieldInertiaAxis<T extends CalculusFieldElement<T>> extends Object
Container for inertial axis.Instances of this class are immutable
- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description FieldInertiaAxis(T i, FieldVector3D<T> a)
Simple constructor to pair a moment of inertia with its associated axis.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldVector3D<T>
getA()
Get the inertia axis.T
getI()
Get the moment of inertia.FieldInertiaAxis<T>
negate()
Reverse the inertia axis.
-
-
-
Constructor Detail
-
FieldInertiaAxis
public FieldInertiaAxis(T i, FieldVector3D<T> a)
Simple constructor to pair a moment of inertia with its associated axis.- Parameters:
i
- moment of inertiaa
- inertia axis
-
-
Method Detail
-
negate
public FieldInertiaAxis<T> negate()
Reverse the inertia axis.- Returns:
- new container with reversed axis
-
getI
public T getI()
Get the moment of inertia.- Returns:
- moment of inertia
-
getA
public FieldVector3D<T> getA()
Get the inertia axis.- Returns:
- inertia axis
-
-