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

Method GetLevel

CSharp/Clipper2Lib/Clipper.Engine.cs:3505–3512  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3503 public PolyPathBase(PolyPathBase? parent = null) { _parent = parent; }
3504
3505 [MethodImpl(MethodImplOptions.AggressiveInlining)]
3506 private int GetLevel()
3507 {
3508 int result = 0;
3509 PolyPathBase? pp = _parent;
3510 while (pp != null) { ++result; pp = pp._parent; }
3511 return result;
3512 }
3513
3514 public int Level => GetLevel();
3515

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected