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

Function op_to_occt

src/ifcgeom/kernels/opencascade/boolean_result.cpp:51–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50namespace {
51 BOPAlgo_Operation op_to_occt(taxonomy::boolean_result::operation_t t) {
52 switch (t) {
53 case taxonomy::boolean_result::UNION: return BOPAlgo_FUSE;
54 case taxonomy::boolean_result::INTERSECTION: return BOPAlgo_COMMON;
55 case taxonomy::boolean_result::SUBTRACTION: return BOPAlgo_CUT;
56 }
57 }
58
59 bool get_single_child(const TopoDS_Shape& s, TopoDS_Shape& child) {
60 TopoDS_Iterator it(s);

Callers 1

convert_implMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected