private static void CheckEdgeRing(EGraph graph, Coordinate p, Coordinate[] dest) { var e = graph.FindEdge(p, dest[0]); var onext = e; int i = 0; do { Assert.IsTrue(onext.Dest.Equals2D(dest[i++])); onext = onext.ONext; }while (onext != e); }
private static void CheckEdgeRing(EGraph graph, Coordinate p, Coordinate[] dest) { HalfEdge e = graph.FindEdge(p, dest[0]); HalfEdge onext = e; int i = 0; do { Assert.IsTrue(onext.Dest.Equals2D(dest[i++])); onext = onext.ONext; } while (onext != e); }
private void CheckNodeValid(NetTopologySuite.EdgeGraph.EdgeGraph graph, Coordinate p0, Coordinate p1) { var e = graph.FindEdge(p0, p1); Assert.That(e.IsEdgesSorted, $"Found non-sorted edges around node {e}."); }
private static void CheckEdge(EGraph graph, Coordinate p0, Coordinate p1) { var e = graph.FindEdge(p0, p1); Assert.IsNotNull(e); }
private static void CheckEdge(EGraph graph, Coordinate p0, Coordinate p1) { HalfEdge e = graph.FindEdge(p0, p1); Assert.IsNotNull(e); }