kicad/libs/kimath/include/math
Seth Hillbrand 95fcf53353 Handle basic rounding error in schematic import
The fractional part of Altium schematic units is an integer number of
1/10000 mil segments, which is 2.54 nm.  The internal unit of eeschema
is 10 nm, so each fractional unit in Altium is 0.254 base eeschema
units.  To be consistent with
cf33cfcad1
we round to the nearest 10nm for each element

Fixes https://gitlab.com/kicad/code/kicad/issues/11742

(cherry picked from commit 6fef054c51)
2022-07-07 11:14:25 -07:00
..
box2.h KiCad internal library header file housekeeping. 2021-07-01 13:46:38 -04:00
matrix3x3.h KiCad internal library header file housekeeping. 2021-07-01 13:46:38 -04:00
util.h Handle basic rounding error in schematic import 2022-07-07 11:14:25 -07:00
vector2d.h Add std::hash specialization for VECTOR2I 2022-01-05 20:32:46 -08:00
vector3.h Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00