Struct FloatQuantityHelper#
Defined in File pybind11Kquantities.h
Inheritance Relationships#
Derived Types#
public Karana::Math::Angle(Struct Angle)public Karana::Math::Length(Struct Length)
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.
-
inline FloatQuantityHelper()#