OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    GeomTools_SurfaceSet Class Reference

    Stores a set of Surfaces from Geom. More...

    #include <GeomTools_SurfaceSet.hxx>

    Public Member Functions

     GeomTools_SurfaceSet ()
     Returns an empty set of Surfaces.
    void Clear ()
     Clears the content of the set.
    int Add (const occ::handle< Geom_Surface > &S)
     Incorporate a new Surface in the set and returns its index.
    occ::handle< Geom_SurfaceSurface (const int I) const
     Returns the Surface of index .
    int Index (const occ::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 Message_ProgressRange &theProgress=Message_ProgressRange()) 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, const Message_ProgressRange &theProgress=Message_ProgressRange())
     Reads the content of me from the stream <IS>. me is first cleared.

    Static Public Member Functions

    static void PrintSurface (const occ::handle< Geom_Surface > &S, Standard_OStream &OS, const bool compact=false)
     Dumps the surface on the stream, if compact is True use the compact format that can be read back.
    static occ::handle< Geom_SurfaceReadSurface (Standard_IStream &IS)
     Reads the surface from the stream. The surface is assumed to have been written with the Print method (compact = True).

    Detailed Description

    Stores a set of Surfaces from Geom.

    Constructor & Destructor Documentation

    ◆ GeomTools_SurfaceSet()

    GeomTools_SurfaceSet::GeomTools_SurfaceSet ( )

    Returns an empty set of Surfaces.

    Member Function Documentation

    ◆ Add()

    int GeomTools_SurfaceSet::Add ( const occ::handle< Geom_Surface > & S)

    Incorporate a new Surface in the set and returns its index.

    ◆ Clear()

    void GeomTools_SurfaceSet::Clear ( )

    Clears the content of the set.

    ◆ Dump()

    void GeomTools_SurfaceSet::Dump ( Standard_OStream & OS) const

    Dumps the content of me on the stream <OS>.

    ◆ Index()

    int GeomTools_SurfaceSet::Index ( const occ::handle< Geom_Surface > & S) const

    Returns the index of <L>.

    ◆ PrintSurface()

    void GeomTools_SurfaceSet::PrintSurface ( const occ::handle< Geom_Surface > & S,
    Standard_OStream & OS,
    const bool compact = false )
    static

    Dumps the surface on the stream, if compact is True use the compact format that can be read back.

    ◆ Read()

    void GeomTools_SurfaceSet::Read ( Standard_IStream & IS,
    const Message_ProgressRange & theProgress = Message_ProgressRange() )

    Reads the content of me from the stream <IS>. me is first cleared.

    ◆ ReadSurface()

    occ::handle< Geom_Surface > GeomTools_SurfaceSet::ReadSurface ( Standard_IStream & IS)
    static

    Reads the surface from the stream. The surface is assumed to have been written with the Print method (compact = True).

    ◆ Surface()

    occ::handle< Geom_Surface > GeomTools_SurfaceSet::Surface ( const int I) const

    Returns the Surface of index .

    ◆ Write()

    void GeomTools_SurfaceSet::Write ( Standard_OStream & OS,
    const Message_ProgressRange & theProgress = Message_ProgressRange() ) const

    Writes the content of me on the stream <OS> in a format that can be read back by Read.


    The documentation for this class was generated from the following file: