mirror of https://github.com/CGAL/cgal
add constrained vertices to pmap
This commit is contained in:
parent
1709486fba
commit
ec1d43afbe
|
|
@ -1025,6 +1025,9 @@ namespace internal {
|
||||||
// property map of constrained vertices for relaxation
|
// property map of constrained vertices for relaxation
|
||||||
auto vertex_constraint = [&](const vertex_descriptor v)
|
auto vertex_constraint = [&](const vertex_descriptor v)
|
||||||
{
|
{
|
||||||
|
if (is_constrained(v))
|
||||||
|
return true;
|
||||||
|
|
||||||
for (halfedge_descriptor h : halfedges_around_target(v, mesh_))
|
for (halfedge_descriptor h : halfedges_around_target(v, mesh_))
|
||||||
{
|
{
|
||||||
Halfedge_status s = status(h);
|
Halfedge_status s = status(h);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue