Struct VecQuantityHelper#

Inheritance Relationships#

Derived Types#

Struct Documentation#

struct VecQuantityHelper#

Simple wrapper struct to bring Vec quantities into pybind11.

Subclassed by Karana::Math::ModalDamping, Karana::Math::ModalStiffness

Public Functions

inline VecQuantityHelper()#

Default constructor. Used by pybind11 caster.

inline VecQuantityHelper(Vec v)#

Constructor with Length value as a double.

Parameters:

v – The value to store.

inline operator Vec() const#

Conversion operator to double.

Returns:

The internal value.

Public Members

Vec value#

The value expressed as a double.