modm API documentation
modm::GeometricTraits< T > Struct Template Reference

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
 

Detailed Description

template<typename T>
struct modm::GeometricTraits< T >

Traits for all geometric classes.

Author
Fabian Greif

Member Function Documentation

template<typename T >
static T modm::GeometricTraits< T >::round ( float  value)
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.


The documentation for this struct was generated from the following file: