Package org.orekit.attitudes
Class InertiaAxis
- java.lang.Object
-
- org.orekit.attitudes.InertiaAxis
-
public class InertiaAxis extends Object
Container for inertial axis.Instances of this class are immutable
- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description InertiaAxis(double i, Vector3D 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 Vector3D
getA()
Get the inertia axis.double
getI()
Get the moment of inertia.InertiaAxis
negate()
Reverse the inertia axis.
-
-
-
Constructor Detail
-
InertiaAxis
public InertiaAxis(double i, Vector3D a)
Simple constructor to pair a moment of inertia with its associated axis.- Parameters:
i
- moment of inertiaa
- inertia axis
-
-
Method Detail
-
negate
public InertiaAxis negate()
Reverse the inertia axis.- Returns:
- new container with reversed axis
-
getI
public double getI()
Get the moment of inertia.- Returns:
- moment of inertia
-
getA
public Vector3D getA()
Get the inertia axis.- Returns:
- inertia axis
-
-