| 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) { |
no test coverage detected