DiscussionsIssue archiveModeling Data and Algorithms

Archived discussion

TopoDS_Shape::IsEqual

Modeling Data and AlgorithmsMon, 03/24/2025 - 18:132 replies

Browse this forum
QuestionAuthor

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
Author

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

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, Commenter-1.

02Author

Thank you very much
Author