Simplify EdgeIterator implementation.

This commit is contained in:
wo80
2022-02-14 21:44:03 +01:00
parent 541e0b4e61
commit 5500ecc166
5 changed files with 78 additions and 132 deletions
+1 -5
View File
@@ -124,11 +124,7 @@ namespace TriangleNet
{
get
{
var e = new EdgeIterator(this);
while (e.MoveNext())
{
yield return e.Current;
}
return new EdgeIterator().EnumerateEdges(this);
}
}