| 801 | |
| 802 | |
| 803 | bool CgalKernel::convert_impl(const taxonomy::shell::ptr shell, ConversionResults& results) { |
| 804 | cgal_shape_t shape; |
| 805 | if (!convert(shell, shape)) { |
| 806 | return false; |
| 807 | } |
| 808 | if (shape.size_of_facets() == 0) { |
| 809 | return false; |
| 810 | } |
| 811 | results.emplace_back(ConversionResult( |
| 812 | shell->instance->as<IfcUtil::IfcBaseEntity>()->id(), |
| 813 | shell->matrix, |
| 814 | new CgalShape(shape), |
| 815 | shell->surface_style |
| 816 | )); |
| 817 | return true; |
| 818 | } |
| 819 | |
| 820 | bool CgalKernel::convert_impl(const taxonomy::solid::ptr solid, ConversionResults& results) { |
| 821 | if (solid->children.size() > 1) { |
nothing calls this directly
no test coverage detected