| 36 | namespace { |
| 37 | |
| 38 | void subshapes(const TopoDS_Shape& in, std::list<TopoDS_Shape>& out) { |
| 39 | TopoDS_Iterator sit(in); |
| 40 | for (; sit.More(); sit.Next()) { |
| 41 | out.push_back(sit.Value()); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | #if OCC_VERSION_HEX >= 0x70200 |
| 46 | bool split(const TopoDS_Shape& input, const TopTools_ListOfShape& operands, double eps, std::vector<TopoDS_Shape>& slices) { |