mirror of https://github.com/CGAL/cgal
vertex is constrained if NOT allowed to move
This commit is contained in:
parent
7462b70bec
commit
21e1ff113a
|
|
@ -1025,7 +1025,7 @@ 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)
|
||||||
{
|
{
|
||||||
return is_move_allowed(v, relax_constraints);
|
return !is_move_allowed(v, relax_constraints);
|
||||||
};
|
};
|
||||||
auto constrained_vertices_pmap
|
auto constrained_vertices_pmap
|
||||||
= boost::make_function_property_map<vertex_descriptor>(vertex_constraint);
|
= boost::make_function_property_map<vertex_descriptor>(vertex_constraint);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue