| 858 | |
| 859 | |
| 860 | static void registerShapes(BRepAlgoAPI_BooleanOperation* pTool, Solid* newSolid, Solid* oldSolid1, Solid* oldSolid2) |
| 861 | { |
| 862 | const TopoDS_Shape& oldShape1 = oldSolid1->shape(); |
| 863 | const TopoDS_Shape& oldShape2 = oldSolid2->shape(); |
| 864 | const TopoDS_Shape& newShape = newSolid->shape(); |
| 865 | |
| 866 | |
| 867 | BRepAlgoAPI_BooleanOperation_Adaptor tool(pTool); |
| 868 | ShapeNameAccessor na1(oldSolid1, 1); |
| 869 | ShapeNameAccessor na2(oldSolid2, 2); |
| 870 | ShapeNameSetter ns(newSolid); |
| 871 | |
| 872 | ShapeClassifier classifier(&tool, &na1, &na2, &ns, newShape); |
| 873 | |
| 874 | classifier.classify(); |
| 875 | |
| 876 | } |
| 877 | |
| 878 | static void registerShapes(BRepBuilderAPI_MakeShape* pTool, Solid* newSolid, Solid* oldSolid) |
| 879 | { |
no test coverage detected