#1960 make configurable

This commit is contained in:
Thomas Krijnen
2022-01-09 15:15:29 +01:00
parent 2683bcba20
commit 6246dda8d6
6 changed files with 26 additions and 7 deletions
+4 -2
View File
@@ -113,12 +113,14 @@ namespace IfcGeom
STRICT_TOLERANCE = 1 << 22,
/// Write boolean operands to file in current directory for debugging purposes
DEBUG_BOOLEAN = 1 << 23,
/// Try to perform boolean subtractions in 2d. Defaults to true.
BOOLEAN_ATTEMPT_2D = 1 << 24,
/// Number of different setting flags.
NUM_SETTINGS = 24,
NUM_SETTINGS = 25,
};
IteratorSettings()
: settings_(WELD_VERTICES) // OR options that default to true here
: settings_(WELD_VERTICES | BOOLEAN_ATTEMPT_2D) // OR options that default to true here
, deflection_tolerance_(1.e-3)
, angular_tolerance_(0.5)
{