template <class T>
struct vtb::geometry::Inertia_tensor< T, 3 >
Fields
Methods
  • translation_matrix(const Vertex< T, 3 > & delta) -> Matrix< T, 3 >

    A matrix that translates original inertia matrix by delta . Computed as the following. Here is a vector from the original centre of mass to the new centre of mass.

  • matrix() const -> Rotation_matrix< T, 3 >

    Inertia matrix in body-fixed coordinate system. Inertia matrix is calculated from inertia tensor as follows:

  • translate(const Vertex< T, 3 > & delta) -> void
  • scale(T factor) -> void
template <class T>
struct vtb::geometry::Mass_moments< T, 2 >
Fields
Methods
  • translate(const Vertex< T, 2 > & origin) -> void
template <class T>
struct vtb::geometry::Inertia_tensor< T, 2 >
Fields
Methods
template <class T>
struct vtb::geometry::Mass_moments< T, 3 >
Fields
Methods
  • translate(const Vertex< T, 3 > & new_centre) -> void