Package org.orekit.attitudes
Class Inertia
java.lang.Object
org.orekit.attitudes.Inertia
Container for inertia of a 3D object.
Instances of this class are immutable
- Since:
- 12.0
- Author:
- Luc Maisonobe
-
Constructor Summary
ConstructorsConstructorDescriptionInertia(InertiaAxis iA1, InertiaAxis iA2, InertiaAxis iA3) Simple constructor from principal axes. -
Method Summary
-
Constructor Details
-
Inertia
Simple constructor from principal axes.- Parameters:
iA1- inertia along first axisiA2- inertia along second axisiA3- inertia along third axis
-
-
Method Details
-
swap12
Swap axes 1 and 2.The instance is unchanged.
- Returns:
- inertia with swapped axes
-
swap13
Swap axes 1 and 3.The instance is unchanged.
- Returns:
- inertia with swapped axes
-
swap23
Swap axes 2 and 3.The instance is unchanged.
- Returns:
- inertia with swapped axes
-
getInertiaAxis1
Get inertia along first axis.- Returns:
- inertia along first axis
-
getInertiaAxis2
Get inertia along second axis.- Returns:
- inertia along second axis
-
getInertiaAxis3
Get inertia along third axis.- Returns:
- inertia along third axis
-
momentum
Compute angular momentum.- Parameters:
rotationRate- rotation rate in body frame.- Returns:
- angular momentum in body frame
-