Commit 60685f3b authored by Mike Kremer's avatar Mike Kremer

Added boundary handling.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@19176 383ad7c9-94d9-4d36-a494-682f7c89f535
parent a6251fd1
......@@ -107,6 +107,8 @@ private:
inline typename MeshT::Scalar voronoi_area(const typename MeshT::HalfedgeHandle& _heh) const {
if(mesh_.is_boundary(_heh)) return 0.0;
const typename MeshT::Normal e = mesh_.point(mesh_.to_vertex_handle(_heh)) -
mesh_.point(mesh_.from_vertex_handle(_heh));
......
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