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

Method MakeRandomPath

CSharp/Benchmark/Benchmarks.cs:95–101  ·  view source on GitHub ↗
(int width, int height, int count, Random rand)

Source from the content-addressed store, hash-verified

93 }
94
95 public static Path64 MakeRandomPath(int width, int height, int count, Random rand)
96 {
97 Path64 result = new (count);
98 for (int i = 0; i < count; ++i)
99 result.Add(MakeRandomPt(width, height, rand));
100 return result;
101 }
102 }
103}

Callers

nothing calls this directly

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected