Files
IfcOpenShell/src/ifcgeom/IfcRegisterConvertShapes.h
T
Thomas Krijnen 22ab3ad06a New IfcGeomObjects setting to force alignment of TopoDS_Face normal to CCW orientation
Removed static Ifc class, renamed to non-static IfcFile. IfcFile renamed to IfcSpfStream
Introduced Logger class
2012-12-31 14:17:16 +00:00

12 lines
299 B
C++

#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"