I have two TopoDS_Shapes, the second is created through a cut operation with the first shape as the cutter. I want to create a user AIS_Shape which colours the faces created by the cut operation.
So far I have used a topo explorer to iterate the FACES of the first and second shapes, which I now need to compare, however the IsEqual() method always returns false. I have also tried computing the HashCode(10000) for each of the faces which also is never the same.
--I am testing with MakeBox(x,y,z) so three faces should be the same.
I presume that the cut operation is creating new topology for its shape and hence the comparator is returning false. If so, is there a way to find if two TopoDS_Faces (created independantly) are the same in terms of geometry, location and orientation?