Commit 234bad27 authored by Stefan Sechelmann's avatar Stefan Sechelmann

git-svn-id: https://svn.math.tu-berlin.de/svn/jtem@626 f5b180c5-49ee-4939-b20e-b6ed35f0f7b7
parent 91d06a20
......@@ -404,6 +404,18 @@ public final class HalfEdgeUtils {
return false;
}
/**
* Test if a given edge is on the boundary.
*
* @param e
* @return {@code true} if either e.getLeftFace() == null or e.getRightFace() == null.
*/
static public <E extends Edge<?, E, ?>> boolean isBoundaryEdge(E e) {
return e.getLeftFace() == null || e.getRightFace() == null;
}
/**
* Test if a given face is an inerior face (that is, not on the boundary).
* <p>
......
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