
Mon, 03/29/2004 - 16:28
Forums:
Hello,
I'm writing a network program, and I want to send a TopoDS_Face to another computer,
how can I find out all the necessary information underlying the TopoDS_Face structure,
needed by another computer for reconstrution?
Any help is much appreciated.
Mon, 03/29/2004 - 16:45
You could just use BRepTools::Write to write your face to a stream (a strstream for example), pass the string over your network and read it back using BRepTools::Read. You could also look at the source code of these two methods, you will get what is needed to store and rebuild a shape (including a face).
Good Luck,
Francois.
Tue, 03/30/2004 - 00:16
Thanks a lot, it works, it's really a help.