add constrained vertices to pmap

This commit is contained in:
Jane Tournois 2024-11-08 16:11:11 +01:00
parent 1709486fba
commit ec1d43afbe
1 changed files with 3 additions and 0 deletions

View File

@ -1025,6 +1025,9 @@ namespace internal {
// property map of constrained vertices for relaxation
auto vertex_constraint = [&](const vertex_descriptor v)
{
if (is_constrained(v))
return true;
for (halfedge_descriptor h : halfedges_around_target(v, mesh_))
{
Halfedge_status s = status(h);