Open CASCADE Technology 7.8.2.dev
|
Stores a set of Surfaces from Geom in binary format. More...
#include <BinTools_SurfaceSet.hxx>
Public Member Functions | |
BinTools_SurfaceSet () | |
Returns an empty set of Surfaces. | |
void | Clear () |
Clears the content of the set. | |
Standard_Integer | Add (const Handle< Geom_Surface > &S) |
Incorporate a new Surface in the set and returns its index. | |
Handle< Geom_Surface > | Surface (const Standard_Integer I) const |
Returns the Surface of index . | |
Standard_Integer | Index (const Handle< Geom_Surface > &S) const |
Returns the index of <L>. | |
void | Write (Standard_OStream &OS, const Message_ProgressRange &theRange=Message_ProgressRange()) const |
Writes the content of me on the stream <OS> in binary format that can be read back by Read. | |
void | Read (Standard_IStream &IS, const Message_ProgressRange &therange=Message_ProgressRange()) |
Reads the content of me from the stream <IS>. me is first cleared. | |
Static Public Member Functions | |
static void | WriteSurface (const Handle< Geom_Surface > &S, BinTools_OStream &OS) |
Dumps the surface on the stream in binary format that can be read back. | |
static Standard_IStream & | ReadSurface (Standard_IStream &IS, Handle< Geom_Surface > &S) |
Reads the surface from the stream. The surface is assumed to have been written with the Write method. | |
Stores a set of Surfaces from Geom in binary format.
BinTools_SurfaceSet::BinTools_SurfaceSet | ( | ) |
Returns an empty set of Surfaces.
Standard_Integer BinTools_SurfaceSet::Add | ( | const Handle< Geom_Surface > & | S | ) |
Incorporate a new Surface in the set and returns its index.
void BinTools_SurfaceSet::Clear | ( | ) |
Clears the content of the set.
Standard_Integer BinTools_SurfaceSet::Index | ( | const Handle< Geom_Surface > & | S | ) | const |
Returns the index of <L>.
void BinTools_SurfaceSet::Read | ( | Standard_IStream & | IS, |
const Message_ProgressRange & | therange = Message_ProgressRange() ) |
Reads the content of me from the stream <IS>. me is first cleared.
|
static |
Reads the surface from the stream. The surface is assumed to have been written with the Write method.
Handle< Geom_Surface > BinTools_SurfaceSet::Surface | ( | const Standard_Integer | I | ) | const |
Returns the Surface of index .
void BinTools_SurfaceSet::Write | ( | Standard_OStream & | OS, |
const Message_ProgressRange & | theRange = Message_ProgressRange() ) const |
Writes the content of me on the stream <OS> in binary format that can be read back by Read.
|
static |
Dumps the surface on the stream in binary format that can be read back.