kicad/libs/kimath/src
Tomasz Wlostowski 3aed13278d 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
2022-06-03 23:28:41 +02:00
..
geometry geometry: more robust colinearity test in SHAPE_LINE_CHAIN::Simplify() 2022-06-03 23:28:41 +02:00
math Add std::hash specialization for VECTOR2I 2022-01-01 20:29:08 -05:00
bezier_curves.cpp Scoop up some more wxPoint instances 2022-01-03 20:00:53 -05:00
convert_basic_shapes_to_polygon.cpp Avoid duplicate points in trapezoid pads 2022-03-22 13:30:45 -07:00
md5_hash.cpp Fix typo 2022-03-07 08:03:48 +01:00
trigo.cpp CalcArcCenter(): fix broken calculation of the arc center. 2022-05-31 10:48:54 +02:00