MCPcopy Create free account
hub / github.com/XRay3D/GERBER_X3 / SimplifyPolygon

Function SimplifyPolygon

GTE_Win/clipper/clipper.cpp:4187–4193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4185//------------------------------------------------------------------------------
4186
4187void SimplifyPolygon(const Path& in_poly, Paths& out_polys, PolyFillType fillType)
4188{
4189 Clipper c;
4190 c.StrictlySimple(true);
4191 c.AddPath(in_poly, ptSubject, true);
4192 c.Execute(ctUnion, out_polys, fillType, fillType);
4193}
4194//------------------------------------------------------------------------------
4195
4196void SimplifyPolygons(const Paths& in_polys, Paths& out_polys, PolyFillType fillType)

Callers 1

createGiMethod · 0.50

Calls 3

StrictlySimpleMethod · 0.45
AddPathMethod · 0.45
ExecuteMethod · 0.45

Tested by

no test coverage detected