Files
IfcOpenShell/src/ifcgeom/IfcRegisterConvertShape.h
T

15 lines
340 B
C++
Raw Normal View History

#include "IfcRegisterUndef.h"
#define SHAPE(T) \
if ( l->is(T::Class()) ) { \
try { \
2011-10-12 16:43:29 +00:00
if ( convert((T*)l,r) ) { \
Cache::Shape[id] = r; \
return true; \
2011-10-12 16:43:29 +00:00
} \
} catch(...) { } \
Logger::Message(Logger::LOG_ERROR,"Failed to convert:",l->entity); \
2012-08-13 09:17:08 +00:00
return 0; \
}
#include "IfcRegisterDef.h"
#include "IfcRegister.h"