Package org.orekit.attitudes
Class FieldInertia<T extends CalculusFieldElement<T>>
- java.lang.Object
-
- org.orekit.attitudes.FieldInertia<T>
-
- Type Parameters:
T
- type of the field elements
public class FieldInertia<T extends CalculusFieldElement<T>> extends Object
Container for inertia of a 3D object.Instances of this class are immutable
- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldInertiaAxis<T>
getInertiaAxis1()
Get inertia along first axis.FieldInertiaAxis<T>
getInertiaAxis2()
Get inertia along second axis.FieldInertiaAxis<T>
getInertiaAxis3()
Get inertia along third axis.FieldVector3D<T>
momentum(FieldVector3D<T> rotationRate)
Compute angular momentum.FieldInertia<T>
swap12()
Swap axes 1 and 2.FieldInertia<T>
swap13()
Swap axes 1 and 3.FieldInertia<T>
swap23()
Swap axes 2 and 3.
-
-
-
Method Detail
-
swap12
public FieldInertia<T> swap12()
Swap axes 1 and 2.The instance is unchanged.
- Returns:
- inertia with swapped axes
-
swap13
public FieldInertia<T> swap13()
Swap axes 1 and 3.The instance is unchanged.
- Returns:
- inertia with swapped axes
-
swap23
public FieldInertia<T> swap23()
Swap axes 2 and 3.The instance is unchanged.
- Returns:
- inertia with swapped axes
-
getInertiaAxis1
public FieldInertiaAxis<T> getInertiaAxis1()
Get inertia along first axis.- Returns:
- inertia along first axis
-
getInertiaAxis2
public FieldInertiaAxis<T> getInertiaAxis2()
Get inertia along second axis.- Returns:
- inertia along second axis
-
getInertiaAxis3
public FieldInertiaAxis<T> getInertiaAxis3()
Get inertia along third axis.- Returns:
- inertia along third axis
-
momentum
public FieldVector3D<T> momentum(FieldVector3D<T> rotationRate)
Compute angular momentum.- Parameters:
rotationRate
- rotation rate in body frame.- Returns:
- angular momentum in body frame
-
-