122123124125126127128129130131132
* unoriented method */ private static Chain getTowardsPathUnOri(Face f, SimpleEdge e, SimpleVertex source, SimpleVertex target) { Chain res = new Chain(f.getGraph()); res.addEdge(e); SimpleEdge curre = e; res.addVertex(source); SimpleVertex curr = e.getAnother(source);
142143144145146147148149150151152
} else { tmp = (SimpleEdge) curr.getEdgesRelative(f) .get(0); } res.addEdge(tmp); curr = tmp.getAnother(curr); res.addVertex(curr); curre = tmp; }
143144145146147148149150151152153
return ac; } if (svc.getProperty(this) == null) { Chain acc = (Chain) ac.instanceCopy(); acc.addEdge(element); acc.addVertex(svc); Chain res = dfsChainSearch(sg, acc, svc, target, ori); if (res != null) {