kicad/libs/kimath/src
Seth Hillbrand 6116eebbad Prevent inf when presented with 0 errormax
acos(1) returns 0, so this implies infinite segements to get to 0 error.
This is not reasonable but might be encountered in bad arcs or circles
that have 0 radius.  Instead of returning infinite or std::max segments,
we limit the error to be at least 1 IU

(cherry picked from commit 1fda68099f)
2023-03-02 10:21:25 -08:00
..
geometry Prevent inf when presented with 0 errormax 2023-03-02 10:21:25 -08:00
math Text size sanity checking for TEXT_ITEMS_GRID. 2022-10-06 13:19:08 +01:00
bezier_curves.cpp Support DXF ellipses and elliptical arcs 2022-12-24 22:46:07 -05:00
convert_basic_shapes_to_polygon.cpp Handle zero-size pads in CornerListToPolygon 2022-12-26 10:04:03 -05:00
md5_hash.cpp Fix typo 2022-03-07 08:03:48 +01:00
trigo.cpp VECTOR2D CalcArcCenter( VECTOR2D& aStart, VECTOR2D& aEnd, EDA_ANGLE& aAngle ): 2022-07-25 18:23:52 +02:00