Include-what-you-use

This commit is contained in:
Thomas Krijnen
2022-06-15 13:41:13 +02:00
parent 124f786007
commit bc2d76e685
102 changed files with 884 additions and 5721 deletions
+9 -2
View File
@@ -2,8 +2,8 @@
#define ITERATOR_KERNEL_H
#include "../ifcparse/IfcFile.h"
#include "../ifcgeom/IfcGeomIteratorSettings.h"
#include "../ifcgeom/IfcRepresentationShapeItem.h"
#include "../ifcgeom_schema_agnostic/IfcGeomIteratorSettings.h"
#include "../ifcgeom_schema_agnostic/IfcRepresentationShapeItem.h"
#ifdef HAS_SCHEMA_2x3
#include "../ifcparse/Ifc2x3.h"
@@ -40,6 +40,13 @@
#include <gp_Trsf.hxx>
#include <gp_GTrsf.hxx>
static const double ALMOST_ZERO = 1.e-9;
template <typename T>
inline static bool ALMOST_THE_SAME(const T& a, const T& b, double tolerance = ALMOST_ZERO) {
return fabs(a - b) < tolerance;
}
namespace IfcGeom {
class BRepElement;