Commit 6bf44204 authored by Charles Gunn's avatar Charles Gunn

git-svn-id: https://svn.math.tu-berlin.de/svn/jtem@1573 f5b180c5-49ee-4939-b20e-b6ed35f0f7b7
parent 8fc11899
......@@ -427,10 +427,10 @@ public final class HalfEdgeUtils {
LinkedList<E> result = new LinkedList<E>();
E e = e0;
do {
if (vertex != e.getTargetVertex()) {
throw new RuntimeException("Edge " + e + " does not have vertex " + vertex + " as target vertex, " +
"although it is the opposite of the next edge of an edge which does.");
}
// if (vertex != e.getTargetVertex()) {
// throw new RuntimeException("Edge " + e + " does not have vertex " + vertex + " as target vertex, " +
// "although it is the opposite of the next edge of an edge which does.");
// }
result.add(e);
e = e.getNextEdge();
if (e == null) {
......@@ -832,9 +832,9 @@ public final class HalfEdgeUtils {
E eResult = constructFaceByVertices(heds, v0, v1, v2, v3);
constructFaceByVertices(heds, v0, v4, v5, v1);
constructFaceByVertices(heds, v1, v5, v6, v2);
constructFaceByVertices(heds, v7, v3, v2, v6);
constructFaceByVertices(heds, v0, v3, v7, v4);
constructFaceByVertices(heds, v4, v7, v6, v5);
constructFaceByVertices(heds, v2, v6, v7, v3);
constructFaceByVertices(heds, v3, v7, v4, v0);
constructFaceByVertices(heds, v7, v6, v5, v4);
return eResult;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment