Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
 

Size of the BREP representation.

Size of the BREP representation.
Jean-Yves Brud 2012/12/20 03:26
I would like to save the BREP representation of a shape.

I just need to create a ostream on a buffer.
But to create the buffer, I need a size (in bytes).

Is it possible to know the size of the BREP representation of a shape before saving it ?

And a small additionnal question: What is the difference between BRepTools::Write() and BRepTools::Dump() ?

Thank you all for ideas.

Jean-Yves
 
 
Latest news
  • Open CASCADE Technology 6.8.0 is available for download!
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map