Files
IfcOpenShell/src/ifcgeom/IfcRegisterConvertShapes.h
T

12 lines
299 B
C++
Raw Normal View History

#include "IfcRegisterUndef.h"
#define SHAPES(T) \
if ( l->is(T::Class()) ) { \
try { \
return IfcGeom::convert((T*)l,r); \
} catch (...) { } \
Logger::Message(Logger::LOG_ERROR,"Failed to convert:",l->entity); \
return false; \
}
#include "IfcRegisterDef.h"
#include "IfcRegister.h"