mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
Add missing file
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#include "IfcGeomIteratorSettings.h"
|
||||
|
||||
#include "../ifcparse/IfcLogger.h"
|
||||
|
||||
void IfcGeom::IteratorSettings::set_deflection_tolerance(double value)
|
||||
{
|
||||
deflection_tolerance_ = value;
|
||||
if (deflection_tolerance_ <= 1e-6) {
|
||||
Logger::Message(Logger::LOG_WARNING, "Deflection tolerance cannot be set to <= 1e-6; using the default value 1e-3");
|
||||
deflection_tolerance_ = 1e-3;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user