Class FieldInertiaAxis<T extends CalculusFieldElement<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 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 inertia
        a - 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