------------------------------------------------------------------------------------------------
| 864 | |
| 865 | // ------------------------------------------------------------------------------------------------ |
| 866 | bool ProcessRepresentationItem(const Schema_2x3::IfcRepresentationItem& item, |
| 867 | unsigned int matid, |
| 868 | std::set<unsigned int>& mesh_indices, |
| 869 | ConversionData& conv) { |
| 870 | // determine material |
| 871 | unsigned int localmatid = ProcessMaterials(item.GetID(), matid, conv, true); |
| 872 | |
| 873 | if (!TryQueryMeshCache(item,mesh_indices,localmatid,conv)) { |
| 874 | if(ProcessGeometricItem(item,localmatid,mesh_indices,conv)) { |
| 875 | if(mesh_indices.size()) { |
| 876 | PopulateMeshCache(item,mesh_indices,localmatid,conv); |
| 877 | } |
| 878 | } else { |
| 879 | return false; |
| 880 | } |
| 881 | } |
| 882 | return true; |
| 883 | } |
| 884 | |
| 885 | |
| 886 | } // ! IFC |
no test coverage detected