kicad/include/geometry
Seth Hillbrand 9e6b56d783 PNS: Detect collisions including newline width
The new line collision search uses BBox() to check for colliding
objects.  BBox in the SHAPE_LINE_CHAIN did not include width as the
chains were assumed to be zero-width.  This is not the case for
PNS::LINE elements.

We mostly don't notice this because DRC checks for SEGMENT collisions
but it becomes obvious/annoying when we cannot place a track for unknown
reasons and the snap-back doesn't take line width into account.

Fixes #3776 | https://gitlab.com/kicad/code/kicad/issues/3776

(cherry picked from commit fe15511d38)
2020-01-17 11:26:02 -08:00
..
convex_hull.h Pcbnew: Add rounded rect pad shape. 2016-04-06 20:15:49 +02:00
direction45.h router: support for board outline 2018-02-06 09:43:56 +01:00
geometry_utils.h Add line style drawing. 2018-10-09 11:08:56 +01:00
poly_grid_partition.h POLY_GRID_PARTITION: fixed incorrect point-in-polygon test in some corner cases 2018-08-23 13:38:41 +02:00
polygon_triangulation.h Fix bug in tesselation 2019-06-23 20:56:29 -07:00
rtree.h rtree: Updating to use functional 2018-07-31 14:26:57 -07:00
seg.h drc: Add board outline and edge crossing 2018-12-02 07:54:52 -08:00
shape.h Setting custom pad shape to be outline for PNS 2018-05-04 08:23:20 -07:00
shape_arc.h SHAPE_ARC: fix uninitialized member in a CTOR that created issues in a QA test. 2019-01-17 16:35:54 +01:00
shape_circle.h Add more "override" markers. 2016-09-25 13:59:41 -04:00
shape_file_io.h 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_index.h Adjust RTree default floating point to use double 2018-08-06 16:55:00 -07:00
shape_index_list.h refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
shape_line_chain.h PNS: Detect collisions including newline width 2020-01-17 11:26:02 -08:00
shape_poly_set.h pcbnew: Fix polygon comparison () for end 2020-01-09 17:15:48 -08:00
shape_rect.h Add more "override" markers. 2016-09-25 13:59:41 -04:00
shape_segment.h Revert "pcbnew: Adding copy constructors to PNS items" 2018-10-09 14:50:20 -07:00
shape_simple.h Setting custom pad shape to be outline for PNS 2018-05-04 08:23:20 -07:00