OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    BinTools_CurveSet Class Reference

    Stores a set of Curves from Geom in binary format. More...

    #include <BinTools_CurveSet.hxx>

    Public Member Functions

     BinTools_CurveSet ()
     Returns an empty set of Curves.
    void Clear ()
     Clears the content of the set.
    int Add (const occ::handle< Geom_Curve > &C)
     Incorporate a new Curve in the set and returns its index.
    occ::handle< Geom_Curve > Curve (const int I) const
     Returns the Curve of index .
    int Index (const occ::handle< Geom_Curve > &C) 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 a 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 WriteCurve (const occ::handle< Geom_Curve > &C, BinTools_OStream &OS)
     Dumps the curve on the stream in binary format that can be read back.
    static Standard_IStream & ReadCurve (Standard_IStream &IS, occ::handle< Geom_Curve > &C)
     Reads the curve from the stream. The curve is assumed to have been written with the Write method.

    Detailed Description

    Stores a set of Curves from Geom in binary format.

    Constructor & Destructor Documentation

    ◆ BinTools_CurveSet()

    BinTools_CurveSet::BinTools_CurveSet ( )

    Returns an empty set of Curves.

    Member Function Documentation

    ◆ Add()

    int BinTools_CurveSet::Add ( const occ::handle< Geom_Curve > & C)

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

    ◆ Clear()

    void BinTools_CurveSet::Clear ( )

    Clears the content of the set.

    ◆ Curve()

    occ::handle< Geom_Curve > BinTools_CurveSet::Curve ( const int I) const

    Returns the Curve of index .

    ◆ Index()

    int BinTools_CurveSet::Index ( const occ::handle< Geom_Curve > & C) const

    Returns the index of <L>.

    ◆ Read()

    void BinTools_CurveSet::Read ( Standard_IStream & IS,
    const Message_ProgressRange & theRange = Message_ProgressRange() )

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

    ◆ ReadCurve()

    Standard_IStream & BinTools_CurveSet::ReadCurve ( Standard_IStream & IS,
    occ::handle< Geom_Curve > & C )
    static

    Reads the curve from the stream. The curve is assumed to have been written with the Write method.

    ◆ Write()

    void BinTools_CurveSet::Write ( Standard_OStream & OS,
    const Message_ProgressRange & theRange = Message_ProgressRange() ) const

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

    ◆ WriteCurve()

    void BinTools_CurveSet::WriteCurve ( const occ::handle< Geom_Curve > & C,
    BinTools_OStream & OS )
    static

    Dumps the curve on the stream in binary format that can be read back.


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