| 72 | } |
| 73 | |
| 74 | bool OpenCascadeKernel::convert_impl(const taxonomy::extrusion::ptr extrusion, IfcGeom::ConversionResults& results) { |
| 75 | return handle_occt_exception([&]() -> bool { |
| 76 | |
| 77 | TopoDS_Shape shape; |
| 78 | if (!convert(extrusion, shape)) { |
| 79 | return false; |
| 80 | } |
| 81 | |
| 82 | results.emplace_back(ConversionResult( |
| 83 | extrusion->instance->as<IfcUtil::IfcBaseEntity>()->id(), |
| 84 | extrusion->matrix, |
| 85 | new OpenCascadeShape(shape), |
| 86 | extrusion->surface_style |
| 87 | )); |
| 88 | return true; |
| 89 | |
| 90 | }); |
| 91 | } |
nothing calls this directly
no test coverage detected