Skip to content

Commit c8def04

Browse files
committed
Update examples
1 parent f6aa7c8 commit c8def04

2 files changed

Lines changed: 8 additions & 16 deletions

File tree

src/examples/IfcAdvancedHouse.cpp

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,12 @@
3838

3939
#include <Standard_Version.hxx>
4040

41-
#ifdef USE_IFC4
42-
#include "../ifcparse/Ifc4.h"
43-
#define IfcSchema Ifc4
44-
#else
45-
#include "../ifcparse/Ifc2x3.h"
4641
#define IfcSchema Ifc2x3
47-
#endif
48-
42+
#include "../ifcparse/macros.h"
43+
#include "../ifcparse/Ifc2x3.h"
4944
#include "../ifcparse/IfcBaseClass.h"
5045
#include "../ifcparse/IfcHierarchyHelper.h"
51-
#include "../ifcgeom/IfcGeom.h"
46+
5247
#include "../ifcgeom/schema_agnostic/Serialization.h"
5348

5449
#if USE_VLD

src/examples/IfcOpenHouse.cpp

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,14 @@
3333
#include <BRepGProp.hxx>
3434
#include <GProp_GProps.hxx>
3535

36-
#ifdef USE_IFC4
37-
#include "../ifcparse/Ifc4.h"
38-
#define IfcSchema Ifc4
39-
#else
40-
#include "../ifcparse/Ifc2x3.h"
41-
#define IfcSchema Ifc2x3
42-
#endif
36+
#include <Precision.hxx>
4337

38+
#define IfcSchema Ifc2x3
39+
#include "../ifcparse/macros.h"
40+
#include "../ifcparse/Ifc2x3.h"
4441
#include "../ifcparse/IfcBaseClass.h"
4542
#include "../ifcparse/IfcHierarchyHelper.h"
46-
#include "../ifcgeom/IfcGeom.h"
43+
4744
#include "../ifcgeom/schema_agnostic/Serialization.h"
4845

4946
#if USE_VLD

0 commit comments

Comments
 (0)