(PolyPath64 pp, int level)
| 1198 | } |
| 1199 | |
| 1200 | private static void ShowPolyPathStructure(PolyPath64 pp, int level) |
| 1201 | { |
| 1202 | string spaces = new string(' ', level * 2); |
| 1203 | string caption = (pp.IsHole ? "Hole " : "Outer "); |
| 1204 | if (pp.Count == 0) |
| 1205 | { |
| 1206 | Console.WriteLine(spaces + caption); |
| 1207 | } |
| 1208 | else |
| 1209 | { |
| 1210 | Console.WriteLine(spaces + caption + $"({pp.Count})"); |
| 1211 | foreach (PolyPath64 child in pp) { ShowPolyPathStructure(child, level + 1); } |
| 1212 | } |
| 1213 | } |
| 1214 | |
| 1215 | public static void ShowPolyTreeStructure(PolyTree64 polytree) |
| 1216 | { |
nothing calls this directly
no outgoing calls
no test coverage detected