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

Function occt_join

src/serializers/SvgSerializer.h:177–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175
176 template <typename T>
177 TopoDS_Compound occt_join(T t) {
178 BRep_Builder B;
179 TopoDS_Compound C;
180 B.MakeCompound(C);
181 if (!t.IsNull()) {
182 TopoDS_Iterator it(t);
183 for (; it.More(); it.Next()) {
184 B.Add(C, it.Value());
185 }
186 }
187 return C;
188 }
189
190 template <typename T, typename... Ts>
191 TopoDS_Compound occt_join(T t, Ts... tss) {

Callers 1

operator()Method · 0.85

Calls 2

MoreMethod · 0.80
NextMethod · 0.45

Tested by

no test coverage detected