method to allow to not correct attributes when changing automatic management mode.

This commit is contained in:
Guillaume Damiand 2024-10-08 16:09:04 +02:00
parent a98031649b
commit db8b774729
3 changed files with 11 additions and 1 deletions

View File

@ -3707,6 +3707,9 @@ namespace CGAL {
this->automatic_attributes_management = newval;
}
void set_automatic_attributes_management_without_correction(bool newval)
{ this->automatic_attributes_management = newval; }
/** Create an half-edge.
* @return a dart of the new half-edge.
*/

View File

@ -2946,6 +2946,9 @@ namespace CGAL {
this->automatic_attributes_management = newval;
}
void set_automatic_attributes_management_without_correction(bool newval)
{ this->automatic_attributes_management = newval; }
/** Create an half-edge.
* @return a dart of the new half-edge.
*/

View File

@ -836,7 +836,7 @@ namespace CGAL {
/** Set the status of the management of the attributes of the Map
*/
void set_update_attributes(bool newval)
void set_automatic_attributes_management(bool newval)
{
if (this->automatic_attributes_management == false && newval == true)
{
@ -847,6 +847,10 @@ namespace CGAL {
this->automatic_attributes_management = newval;
}
void set_automatic_attributes_management_without_correction(bool newval)
{ this->automatic_attributes_management = newval; }
};
} // namespace CGAL