kicad/qa/common/geometry
John Beard ab39f06003 SHAPE_ARC: fix polyline conversion when radius=0
Prevent a divide-by-zero bug in SHAPE_ARC::ConvertToPolyline.

When the radius is zero, just use the initial angle (it makes
no different anyway, the result is the centre point, which is
the start point.

(cherry picked from commit e312e2b286)
2019-04-17 11:29:28 +01:00
..
fixtures_geometry.h QA: Move contents qa_shape_poly_set_refactor to qa_common 2019-01-29 08:15:44 -05:00
geom_test_utils.h QA: Test arc to polylines - this has a bug 2019-04-17 11:29:28 +01:00
test_fillet.cpp QA: Make a separate unit test utils library, COLOR4D tests 2018-11-08 14:40:42 -05:00
test_segment.cpp QA: Add Distance, Collide, Collinear tests on SEG 2019-02-03 06:57:37 +01:00
test_shape_arc.cpp SHAPE_ARC: fix polyline conversion when radius=0 2019-04-17 11:29:28 +01:00
test_shape_poly_set_collision.cpp QA: Mark failing SHAPE_POLY_SET tests as expected failures 2019-01-30 11:55:10 +01:00
test_shape_poly_set_distance.cpp QA: Account for eeschema tests unit rounding 2019-01-30 11:55:11 +01:00
test_shape_poly_set_iterator.cpp QA: Move contents qa_shape_poly_set_refactor to qa_common 2019-01-29 08:15:44 -05:00