mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-28 07:49:59 +00:00
- Make distinction between single shape and list of shapes
- Store shapes in std::vectors rather than TopoDS_Compounds - Apply transformation only on triangulated meshes or when processing openings - Store transformations in a gp_GTrsf to allow arbitrary transformations - Support IfcCartesianTransformationOperator3DnonUniform - TODO: Create proper class for ShapeList - TODO: Carefully check for null pointers returned from IfcGeom::convert_shape()
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
if ( l->is(T::Class()) ) { \
|
||||
try { \
|
||||
if ( convert((T*)l,r) ) { \
|
||||
Cache::Shape[l->entity->id()] = r; \
|
||||
return true; \
|
||||
Cache::Shape[id] = r; \
|
||||
return &(Cache::Shape[id]); \
|
||||
} \
|
||||
} catch(...) { } \
|
||||
Ifc::LogMessage("Error","Failed to convert:",l->entity); \
|
||||
|
||||
Reference in New Issue
Block a user