| 235 | } |
| 236 | |
| 237 | bool IfcGeom::OpenCascadeKernel::faceset_helper::wire(const ifcopenshell::geometry::taxonomy::loop::ptr loop, TopoDS_Wire& w) { |
| 238 | TopTools_ListOfShape ws; |
| 239 | if (!wires(loop, ws)) { |
| 240 | return false; |
| 241 | } |
| 242 | util::select_largest(ws, w); |
| 243 | return true; |
| 244 | } |
| 245 | |
| 246 | bool IfcGeom::OpenCascadeKernel::faceset_helper::wires(const ifcopenshell::geometry::taxonomy::loop::ptr loop, TopTools_ListOfShape& wires) { |
| 247 | if (duplicates_.find(loop->identity()) != duplicates_.end()) { |