| 4549 | //------------------------------------------------------------------------------ |
| 4550 | |
| 4551 | void MinkowskiDiff(const Path& poly1, const Path& poly2, Paths& solution) |
| 4552 | { |
| 4553 | Minkowski(poly1, poly2, solution, false, true); |
| 4554 | Clipper c; |
| 4555 | c.AddPaths(solution, ptSubject, true); |
| 4556 | c.Execute(ctUnion, solution, pftNonZero, pftNonZero); |
| 4557 | } |
| 4558 | //------------------------------------------------------------------------------ |
| 4559 | |
| 4560 | enum NodeType {ntAny, ntOpen, ntClosed}; |