Struct Vec3QuantityHelper#

Inheritance Relationships#

Derived Types#

Struct Documentation#

struct Vec3QuantityHelper#

Simple wrapper struct to bring Vec3 quantities into pybind11.

Subclassed by Karana::Math::Acceleration3, Karana::Math::Angle3, Karana::Math::AngularAcceleration3, Karana::Math::AngularMomentum3, Karana::Math::AngularVelocity3, Karana::Math::Force3, Karana::Math::Length3, Karana::Math::Momentum3, Karana::Math::Torque3, Karana::Math::Velocity3

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.