Files
IfcOpenShell/src/ifcgeom/IfcGeomIteratorSettings.cpp
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
372 B
C++
Raw Normal View History

2023-03-21 20:15:01 +01:00
#include "IteratorSettings.h"
2022-06-15 14:46:37 +02:00
#include "../ifcparse/IfcLogger.h"
2023-11-15 10:32:20 +01:00
/*
2022-06-15 14:46:37 +02:00
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;
}
}
2023-11-15 10:32:20 +01:00
*/