Struct Vec3QuantityHelper#

Inheritance Relationships#

Derived Type#

Struct Documentation#

struct Vec3QuantityHelper#

Simple wrapper struct to bring Vec3 quantities into pybind11.

Subclassed by Karana::Math::Length3

Public Functions

inline Vec3QuantityHelper()#

Default constructor. Used by pybind11 caster.

inline Vec3QuantityHelper(Vec3 v)#

Constructor with Length value as a double.

Parameters:

v – The value to store.

inline operator Vec3() const#

Conversion operator to double.

Returns:

The internal value.

Public Members

Vec3 value#

The value expressed as a double.