mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-28 19:27:10 +00:00
examples: fix missing includes
This commit is contained in:
committed by
Thomas Krijnen
parent
eb50be5c52
commit
28c7da2336
@@ -27,10 +27,11 @@
|
|||||||
// Disable warnings coming from IfcOpenShell
|
// Disable warnings coming from IfcOpenShell
|
||||||
#pragma warning(disable : 4018 4267 4250 4984 4985)
|
#pragma warning(disable : 4018 4267 4250 4984 4985)
|
||||||
|
|
||||||
#include "../ifcparse/IfcHierarchyHelper.h"
|
|
||||||
#include "../ifcparse/Ifc4x3_add2.h"
|
#include "../ifcparse/Ifc4x3_add2.h"
|
||||||
|
#include "../ifcparse/IfcHierarchyHelper.h"
|
||||||
|
|
||||||
#include <boost/math/constants/constants.hpp>
|
#include <boost/math/constants/constants.hpp>
|
||||||
|
#include <fstream>
|
||||||
|
|
||||||
const double PI = boost::math::constants::pi<double>();
|
const double PI = boost::math::constants::pi<double>();
|
||||||
double to_radian(double deg) { return PI * deg / 180; }
|
double to_radian(double deg) { return PI * deg / 180; }
|
||||||
|
|||||||
@@ -20,8 +20,9 @@
|
|||||||
// TODO: Multiple schemas
|
// TODO: Multiple schemas
|
||||||
#define IfcSchema Ifc2x3
|
#define IfcSchema Ifc2x3
|
||||||
|
|
||||||
#include "../ifcparse/IfcFile.h"
|
|
||||||
#include "../ifcparse/Ifc2x3.h"
|
#include "../ifcparse/Ifc2x3.h"
|
||||||
|
#include "../ifcparse/IfcFile.h"
|
||||||
|
#include "../ifcparse/IfcLogger.h"
|
||||||
|
|
||||||
#if USE_VLD
|
#if USE_VLD
|
||||||
#include <vld.h>
|
#include <vld.h>
|
||||||
@@ -76,7 +77,5 @@ int main(int argc, char** argv) {
|
|||||||
std::cout << "The area of this window is " << area << std::endl;
|
std::cout << "The area of this window is " << area << std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user