e60152e351
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 |
||
---|---|---|
.. | ||
include | ||
src | ||
CMakeLists.txt | ||
determine_if_point_inside_polygon.odt |