- Fixed a bug regarding IfcUnitAssignment

- Separate IFC parsing library and geometry libraries [#3395025]
- Added example for IfcParse usage without geometry or Open CASCADE functionality
- Cleanup of vcproj Open CASCADE dependencies
- Added function to query parent class type in IfcExpressParser.py
This commit is contained in:
Thomas Krijnen
2011-08-24 12:21:07 +00:00
parent 0b45066736
commit 2561f94acb
36 changed files with 986 additions and 197 deletions
+14
View File
@@ -0,0 +1,14 @@
#include "IfcRegisterUndef.h"
#define SHAPE(T) \
if ( l->is(T::Class()) ) { \
try { \
bool b = convert(reinterpret_pointer_cast<IfcBaseClass,T>(l),r); \
if ( b ) { \
Cache::Shape[l->entity->id()] = r; \
return true; \
} else { return false; }\
} catch(...) { Ifc::LogMessage("Error","Failed to convert:",l->entity); } \
}
#include "IfcRegisterDef.h"
#include "IfcRegister.h"