KiCad PCB EDA Suite
|
Go to the source code of this file.
Functions | |
template<typename T > | |
static constexpr T | RoundNearest (T x, T g) |
template<typename T > | |
static constexpr T | RoundDown (T x, T g) |
template<typename T > | |
static constexpr T | RoundUp (T x, T g) |
|
staticconstexpr |
Definition at line 76 of file vector_utils.cpp.
Referenced by KIGEOM::RoundNW().
|
staticconstexpr |
Definition at line 70 of file vector_utils.cpp.
Referenced by KIGEOM::RoundGrid().
|
staticconstexpr |
Definition at line 82 of file vector_utils.cpp.
Referenced by KIGEOM::RoundSE().