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

Function SimplifyPolygons

TheForceEngine/TFE_Polygon/clipper.cpp:4305–4311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4303//------------------------------------------------------------------------------
4304
4305void SimplifyPolygons(const Paths &in_polys, Paths &out_polys, PolyFillType fillType)
4306{
4307 Clipper c;
4308 c.StrictlySimple(true);
4309 c.AddPaths(in_polys, ptSubject, true);
4310 c.Execute(ctUnion, out_polys, fillType, fillType);
4311}
4312//------------------------------------------------------------------------------
4313
4314void SimplifyPolygons(Paths &polys, PolyFillType fillType)

Callers 1

simplifyPathsFunction · 0.85

Calls 3

StrictlySimpleMethod · 0.80
AddPathsMethod · 0.80
ExecuteMethod · 0.45

Tested by

no test coverage detected