MCPcopy Create free account
hub / github.com/AngusJohnson/Clipper2 / Polytree_Union

Method Polytree_Union

CSharp/Examples/ConsoleDemo/Main.cs:31–38  ·  view source on GitHub ↗
(Paths64 subjects, FillRule fillrule)

Source from the content-addressed store, hash-verified

29 }
30
31 public static Paths64 Polytree_Union(Paths64 subjects, FillRule fillrule)
32 {
33 // of course this function is inefficient,
34 // but it's purpose is simply to test polytrees.
35 PolyTree64 polytree = new();
36 Clipper.BooleanOp(ClipType.Union, subjects, null, polytree, fillrule);
37 return Clipper.PolyTreeToPaths64(polytree);
38 }
39
40 public static Paths64 FillImageWithShape(Path64 shape, int skipFreq)
41 {

Callers

nothing calls this directly

Calls 2

BooleanOpMethod · 0.80
PolyTreeToPaths64Method · 0.80

Tested by

no test coverage detected