Commit 9e3d6128 authored by Alexander Dielen's avatar Alexander Dielen
Browse files

Added edge_vertices() convenience function

parent 3cd0c981
......@@ -434,6 +434,10 @@ public:
return res;
}
std::vector<VertexHandle> edge_vertices(const EdgeHandle& _h) const {
return halfedge_vertices(halfedge_handle(_h, 0));
}
std::vector<HalfEdgeHandle> edge_halfedges(const EdgeHandle& _h) const {
std::vector<HalfEdgeHandle> res(2);
res[0] = halfedge_handle(_h, 0);
......
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