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

Method SimpleIntersect

CSharp/Examples/ConsoleDemo/Main.cs:110–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108 }
109
110 public static void SimpleIntersect()
111 {
112 const FillRule fillrule = FillRule.NonZero;
113 Paths64 subject = new() { Clipper.MakePath(new int[] { 200, 100, 20, 158, 130, 4, 130, 196, 20, 42 }) };
114 Paths64 clip = new() { Clipper.MakePath(new int[] { 196, 126, 8, 136, 154, 16, 104, 200, 38, 24 }) };
115 Paths64 solution = Clipper.Intersect(subject, clip, fillrule);
116 DisplayAsSvgImage("Intersect", fillrule, subject, clip, solution);
117 }
118
119 public static void SimpleInflate()
120 {

Callers

nothing calls this directly

Calls 3

MakePathMethod · 0.80
IntersectMethod · 0.80
DisplayAsSvgImageFunction · 0.50

Tested by

no test coverage detected