MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / wire

Method wire

src/ifcgeom/kernels/opencascade/faceset_helper.cpp:237–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237bool 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
246bool IfcGeom::OpenCascadeKernel::faceset_helper::wires(const ifcopenshell::geometry::taxonomy::loop::ptr loop, TopTools_ListOfShape& wires) {
247 if (duplicates_.find(loop->identity()) != duplicates_.end()) {

Callers 2

convertMethod · 0.80
convertMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected