[consider merging] Bugfix: 'edge outside polygon' now consistently ignores the border of the polygon

This commit is contained in:
Matthias Koefferlein 2024-03-02 19:30:19 +01:00
parent c5433a349a
commit ebc96d8de4
2 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ edge_is_inside_or_outside (bool outside, const db::Edge &a, const db::Polygon &b
ep.insert (a, 1);
DetectTagEdgeSink es (outside ? 1 : 2); // 2 is the "outside" tag in "Both" mode -> this makes inside fail
db::EdgePolygonOp op (db::EdgePolygonOp::Both, true /*include borders*/);
db::EdgePolygonOp op (db::EdgePolygonOp::Both, !outside /*include borders in inside*/);
ep.process (es, op);
return es.result;

Binary file not shown.