TopoDS_Shape::IsEqual

I make a TopoDS_Shape S, i.e. a cube.Then I write It on disk, by using BinTools. Finally I reload it from disk, and obtain S_reloaded.

Is the returning value of

S.IsEqual(S_reloaded)

true or false?
Grazie
Giovanni

Dmitrii Pasukhin's picture

Hello. The checking is only based on the smart pointer. (point on single place in memory)

In case if object is duplicated deeply, then the method will not work.

Best regards, Dmitrii.

Giovanni Bettega's picture

Thank you very much
Giovanni