kicad/libs/kimath/include/geometry
Roberto Fernandez Bautista 1026c24c65 SHAPE_LINE_CHAIN fix rotation of indices after going through Clipper
Clipper might mess up the rotation of the indices such that an arc can be split between
the end point and wrap around to the start point. Detect if this happened and fix it as
required.

Also, handle arcs at the last segment of the chain correctly, meaning we can have arcs
towards the end of the chain that finish at the starting point of the chain.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/9670
2021-11-20 16:47:08 +00:00
..
circle.h Add CIRCLE::Contains( VECTOR2I aP ) and add unit tests 2021-07-03 19:37:50 +00:00
convex_hull.h Pass wxPoint objects by reference instead of on the stack. 2021-07-26 15:35:33 -04:00
direction45.h PNS: Add support for 90-degree corner modes 2021-11-03 02:14:23 +00:00
geometry_utils.h Remove dependency of dot size on linear mils 2021-10-10 09:40:26 -07:00
poly_grid_partition.h KiCad internal library header file housekeeping. 2021-07-01 13:46:38 -04:00
polygon_triangulation.h Polygon triangulation: Check for broken remainders 2021-10-12 12:14:42 -07:00
seg.h Pass VECTOR2I objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
shape.h Restore BBoxCache usage for zone fill performance. 2021-09-09 16:43:47 +01:00
shape_arc.h Simplify & move new arc collision code into Kimath library 2021-08-05 17:45:12 +01:00
shape_circle.h Clip the leader lines properly when using circular text frame 2021-03-07 21:19:19 +00:00
shape_compound.h KiCad internal library header file housekeeping. 2021-07-01 13:46:38 -04:00
shape_file_io.h KiCad internal library header file housekeeping. 2021-07-01 13:46:38 -04:00
shape_index.h Make sure RTree bounding box is at least as big as hole. 2021-11-05 14:29:10 +00:00
shape_index_list.h More NULL expunging. 2021-07-18 14:31:55 -04:00
shape_line_chain.h SHAPE_LINE_CHAIN fix rotation of indices after going through Clipper 2021-11-20 16:47:08 +00:00
shape_null.h Support optional location reporting in SHAPE collisions. 2020-09-28 23:28:33 +01:00
shape_poly_set.h SHAPE_POLY_SET: add FullPointCount(), mainly for statistics and debug. 2021-10-24 15:06:24 +02:00
shape_rect.h Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
shape_segment.h Finish implementation of hole clearance checking. 2020-12-25 22:32:19 +00:00
shape_simple.h KiCad internal library header file housekeeping. 2021-07-01 13:46:38 -04:00