Commit 8fc11899 authored by Charles Gunn's avatar Charles Gunn

git-svn-id: https://svn.math.tu-berlin.de/svn/jtem@1572 f5b180c5-49ee-4939-b20e-b6ed35f0f7b7
parent 98819189
......@@ -82,8 +82,10 @@ public abstract class Face <V extends Vertex<V, E, F>,
return boundaryEdge;
}
public final void setBoundaryEdge(E e) {
final public void setBoundaryEdge(E e) {
checkHalfEdgeDataStructure(e);
if (!hds.getEdges().contains(e))
throw new IllegalStateException("Not an edge of this face");
this.boundaryEdge = e;
};
......
......@@ -283,7 +283,7 @@ public class HalfEdgeDataStructure <V extends Vertex<V, E, F>,
throw new RuntimeException(face + " is null or does not belong to " + this + ".");
}
if (faceList.remove(face)) {
face.setBoundaryEdge(null);
// face.setBoundaryEdge(null);
face.setHalfEdgeDataStructure(null);
reindexFaces(face.index);
return;
......
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