Struct FloatQuantityHelper#

Inheritance Relationships#

Derived Types#

Struct Documentation#

struct FloatQuantityHelper#

Simple wrapper struct to bring Length into pybind11.

Subclassed by Karana::Math::Angle, Karana::Math::Length

Public Functions

inline FloatQuantityHelper()#

Default constructor. Used by pybind11 caster.

inline FloatQuantityHelper(double v)#

Constructor with Length value as a double.

Parameters:

v – The value to store.

inline operator double() const#

Conversion operator to double.

Returns:

The internal value.

Public Members

double value#

The value expressed as a double.