Exemple #1
0
 private void checkEdgeRing(EdgeGraph graph, Coordinate p, Coordinate[] dest) {
   HalfEdge e = graph.findEdge(p, dest[0]);
   HalfEdge onext = e;
   int i = 0;
   do {
     assertTrue(onext.dest().equals2D(dest[i++]));
     onext = onext.oNext();
   } while (onext != e);
 }
Exemple #2
0
 private void checkEdge(EdgeGraph graph, Coordinate p0, Coordinate p1) {
   HalfEdge e = graph.findEdge(p0, p1);
   assertNotNull(e);
 }