kicad/libs/kimath
Tomasz Wlostowski 2be352b9f9 geometry: more robust colinearity test in SHAPE_LINE_CHAIN::Simplify()
We now test the midpoint (B) of the 3 consecutive polyline points (A, B, C), since (assuming the angle between AB and BC is > 90 degrees) AC is always longer than
AB or BC. This minimizes the distance computation rounding error (in the previous algorithm, taking the point C for colineraity test) if AB is short and BC is very long, the test would
often fail due to rouding error in projection/line distance computation


(cherry picked from commit 3aed13278d)
2022-06-08 16:13:15 +00:00
..
include Gerbview: seriously speed up the calculation time to draw polygons on OpenGL. 2022-05-13 18:33:53 +02:00
src geometry: more robust colinearity test in SHAPE_LINE_CHAIN::Simplify() 2022-06-08 16:13:15 +00:00
CMakeLists.txt Add std::hash specialization for VECTOR2I 2022-01-05 20:32:46 -08:00
determine_if_point_inside_polygon.odt Refactor all math into a new kimath library 2020-01-07 17:12:59 +00:00