Commit 6f350774 authored by David Bommes's avatar David Bommes
Browse files

added halfedge selection functions

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9994 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8952e2f8
......@@ -98,6 +98,12 @@ struct AreaNodeMod
}
/// default to false
static bool is_halfedge_selected(const MeshT& /*_mesh */, typename MeshT::HalfedgeHandle /* _eh */ )
{
return false;
}
/// tell status node if the face is marked as modeling area
static bool is_face_selected(const MeshT& _mesh, typename MeshT::FaceHandle _fh)
{
......@@ -155,6 +161,13 @@ template< class MeshT >
}
/// default to false
static bool is_halfedge_selected(const MeshT& /*_mesh */, typename MeshT::HalfedgeHandle /* _eh */ )
{
return false;
}
/// tell status node if the face is marked as handle area
static bool is_face_selected(const MeshT& _mesh, typename MeshT::FaceHandle _fh)
{
......@@ -181,6 +194,12 @@ template< class MeshT >
}
/// default to false
static bool is_halfedge_selected(const MeshT& _mesh, typename MeshT::HalfedgeHandle _heh)
{
return _mesh.status(_heh).feature();
}
/// tell status node if the face is marked as feature
static bool is_face_selected(const MeshT& _mesh, typename MeshT::FaceHandle _fh)
{
......
Supports Markdown
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