![]() |
Scanframe DevOps Trial App 0.1.0
|
#include <limits>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
namespace | MySpace |
Functions | |
template<class T , class S > | |
auto | MySpace::calculateOffset (T value, T min_val, T max_val, S len, bool clip) -> S |
Calculates the offset for a given range and set point. | |
template<class T > | |
auto | MySpace::clip (const T value, const T min_val, const T max_val) -> T |
Returns clipped value of v between a and b where a < b. | |