kicad/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
..
convex_hull.cpp Pcbnew: Add rounded rect pad shape. 2016-04-06 20:15:49 +02:00
geometry_utils.cpp geometry/geometry_utils.cpp: Fix a minimal value (6) to calculate the segments by circle count to approximate a circle. 2019-04-03 16:25:52 -07:00
hetriang.cpp rename files 2018-02-02 21:57:12 +01:00
seg.cpp drc: Add board outline and edge crossing 2018-12-02 07:54:52 -08:00
shape.cpp router: snap to clearance boundaries in Highlight Collisions mode 2017-01-19 17:47:15 +01:00
shape_arc.cpp SHAPE_ARC: fix polyline conversion when radius=0 2019-04-17 11:29:28 +01:00
shape_collisions.cpp Add SH_ARC collisions 2018-07-17 10:08:13 -07:00
shape_file_io.cpp Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
shape_line_chain.cpp router: correct walkaround corner case when both ends of the line lie on the hull edge 2019-02-03 11:22:18 +01:00
shape_poly_set.cpp Optimize DRC calculation for copper texts. fix also a bug in SHAPE_POLY_SET::Distance( const SEG& aSegment, int aSegmentWidth ). 2019-01-26 13:01:48 +01:00
trigo.cpp Clean up file locations and names. 2018-09-22 16:23:13 +01:00