Compilation errors

This commit is contained in:
Thomas Krijnen
2019-09-01 16:48:50 +02:00
parent 7f8bed9922
commit 8efb86420e
4 changed files with 10 additions and 14 deletions
-7
View File
@@ -37,13 +37,6 @@ if ( it != cache.T.end() ) { e = it->second; return true; }
#include <cmath>
#define 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;
}
#include "../../../ifcparse/macros.h"
#include "../../../ifcgeom/kernel_agnostic/AbstractKernel.h"
@@ -22,13 +22,6 @@
#include <cmath>
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;
}
#include <gp_Pnt.hxx>
#include <gp_Vec.hxx>
#include <gp_Mat.hxx>