Open CASCADE Technology 6.6.0
Public Member Functions | Static Public Member Functions
GeomTools_SurfaceSet Class Reference

Stores a set of Surfaces from Geom.

#include <GeomTools_SurfaceSet.hxx>

Public Member Functions

 GeomTools_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 Dump (Standard_OStream &OS) const
 Dumps the content of me on the stream <OS>.

void Write (Standard_OStream &OS) const
 Writes the content of me on the stream <OS> in a
format that can be read back by Read.

void Read (Standard_IStream &IS)
 Reads the content of me from the stream <IS>. me
is first cleared.


void SetProgress (const Handle< Message_ProgressIndicator > &PR)
Handle_Message_ProgressIndicator GetProgress () const

Static Public Member Functions

static void PrintSurface (const Handle< Geom_Surface > &S, Standard_OStream &OS, const Standard_Boolean compact=Standard_False)
 Dumps the surface on the stream, if compact is True
use the compact 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 writtent with the Print
method (compact = True).



Constructor & Destructor Documentation

GeomTools_SurfaceSet::GeomTools_SurfaceSet ( )

Member Function Documentation

Standard_Integer GeomTools_SurfaceSet::Add ( const Handle< Geom_Surface > &  S)
void GeomTools_SurfaceSet::Clear ( )
void GeomTools_SurfaceSet::Dump ( Standard_OStream OS) const
Handle_Message_ProgressIndicator GeomTools_SurfaceSet::GetProgress ( ) const
Standard_Integer GeomTools_SurfaceSet::Index ( const Handle< Geom_Surface > &  S) const
static void GeomTools_SurfaceSet::PrintSurface ( const Handle< Geom_Surface > &  S,
Standard_OStream OS,
const Standard_Boolean  compact = Standard_False 
) [static]
void GeomTools_SurfaceSet::Read ( Standard_IStream &  IS)
static Standard_IStream& GeomTools_SurfaceSet::ReadSurface ( Standard_IStream &  IS,
Handle< Geom_Surface > &  S 
) [static]
void GeomTools_SurfaceSet::SetProgress ( const Handle< Message_ProgressIndicator > &  PR)
Handle_Geom_Surface GeomTools_SurfaceSet::Surface ( const Standard_Integer  I) const
void GeomTools_SurfaceSet::Write ( Standard_OStream OS) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines