MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / MinkowskiDiff

Function MinkowskiDiff

TheForceEngine/TFE_Polygon/clipper.cpp:4551–4557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4549//------------------------------------------------------------------------------
4550
4551void 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
4560enum NodeType {ntAny, ntOpen, ntClosed};

Callers

nothing calls this directly

Calls 3

MinkowskiFunction · 0.85
AddPathsMethod · 0.80
ExecuteMethod · 0.45

Tested by

no test coverage detected