I am trying to use following code:
TopoDS_Shape cut_shape = BRepAlgoAPI_Cut(*from_shape, *tool_shape);
After that, I want to compare if cut_shape and *from_shape are the same, meaning, from_shape didn't get cut. In the case of not cutting case, both TopoDS_Shape::IsSame() and TopoDS_Shape::IsEqual() gives false, which indicates these shapes are different.
BRepAlgoAPI_BooleanOperation::HasModified() or HasGenerated() don't same to give the corresponding answer either.
Is there any other ways to tell if the cutting is actually performed or not?
Thanks in advance!