Commit a24c8331 authored by Andre's avatar Andre

some cleanup at Halfedgeutils

parent 64693c4d
......@@ -499,7 +499,13 @@ public final class HalfEdgeUtils {
return result;
}
public static <
V extends Vertex<V, E, F>,
E extends Edge<V, E, F>,
F extends Face<V, E, F>
> int getDegree(V v) {
return incomingEdges(v).size();
}
/**
* Return a list of those vertices that are connected to a given {@code vertex} by an edge.
* <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