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

Function MinkowskiSum

TheForceEngine/TFE_Polygon/clipper.cpp:4514–4520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4512//------------------------------------------------------------------------------
4513
4514void MinkowskiSum(const Path& pattern, const Path& path, Paths& solution, bool pathIsClosed)
4515{
4516 Minkowski(pattern, path, solution, true, pathIsClosed);
4517 Clipper c;
4518 c.AddPaths(solution, ptSubject, true);
4519 c.Execute(ctUnion, solution, pftNonZero, pftNonZero);
4520}
4521//------------------------------------------------------------------------------
4522
4523void TranslatePath(const Path& input, Path& output, const IntPoint delta)

Callers

nothing calls this directly

Calls 6

MinkowskiFunction · 0.85
TranslatePathFunction · 0.85
AddPathsMethod · 0.80
ExecuteMethod · 0.45
sizeMethod · 0.45
AddPathMethod · 0.45

Tested by

no test coverage detected