ratio_t struct
#include <nxt/units.hpp>
Dimensionless flex or scale ratio.
Public functions
-
auto operator+=(ratio_
t other) → ratio_ t& constexpr noexcept - auto value() const → double constexpr noexcept
- Return the raw ratio.
Public variables
- double v
- Raw ratio value.
Friends
-
auto operator<=>(ratio_
t, ratio_ t) → auto defaulted constexpr noexcept -
auto operator==(ratio_
t, ratio_ t) → bool defaulted constexpr noexcept