Files
IfcOpenShell/src/ifcgeom_schema_agnostic/IfcGeomIteratorSettings.cpp
T
Thomas Krijnen c4dc3934fa Add missing file
2022-06-15 14:46:37 +02:00

13 lines
373 B
C++

#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;
}
}