kicad/libs/kimath/include/math
Seth Hillbrand e60152e351 Fix island removal when copper->edge clearance is 0
Just testing a single point to find copper that is outside the board works
until the arc->segment conversion moves the board outline just enough to
have the filled copper slightly (few IU) outside of the converted outline.

Instead, we do an expensive check of comparing the size of the
intersection between the island and the island's intersection with the
board.  If the intersection is at least half as large as the original
island, we can say with certainty that the island is inside.  The margin
could be much smaller than half but this preserves the intent without
picking an arbitrary number that might be violated

Fixes https://gitlab.com/kicad/code/kicad/issues/13717
2023-02-02 19:19:26 +00:00
..
box2.h Change implementation of Box2::FarthestPointTo to actually return the farthest point. 2022-09-27 22:40:55 +00:00
matrix3x3.h Fix typo in matrix3 multiply, add unit tests 2023-01-05 21:06:52 -05:00
util.h Text size sanity checking for TEXT_ITEMS_GRID. 2022-10-06 13:19:08 +01:00
vector2d.h Fix island removal when copper->edge clearance is 0 2023-02-02 19:19:26 +00:00
vector3.h Refactor step export to use our normal board processing routines 2022-11-12 21:27:10 -05:00