modm API documentation
|
Traits for all geometric classes. More...
#include <modm/math/geometry/geometric_traits.hpp>
Static Public Member Functions | |
static T | round (float value) |
Round if converting from a floating point base to a integer base. More... | |
Static Public Attributes | |
static const bool | isValidType = false |
Traits for all geometric classes.
|
inlinestatic |
Round if converting from a floating point base to a integer base.
For T = float
and double
this method is specialized to return the result directly without any rounding.