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_CurveSet Class Reference

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

    #include <GeomTools_CurveSet.hxx>

    Public Member Functions

     GeomTools_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 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 PrintCurve (const occ::handle< Geom_Curve > &C, Standard_OStream &OS, const bool compact=false)
     Dumps the curve on the stream, if compact is True use the compact format that can be read back.
    static occ::handle< Geom_Curve > ReadCurve (Standard_IStream &IS)
     Reads the curve from the stream. The curve is assumed to have been written with the Print method (compact = True).

    Detailed Description

    Stores a set of Curves from Geom.

    Constructor & Destructor Documentation

    ◆ GeomTools_CurveSet()

    GeomTools_CurveSet::GeomTools_CurveSet ( )

    Returns an empty set of Curves.

    Member Function Documentation

    ◆ Add()

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

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

    ◆ Clear()

    void GeomTools_CurveSet::Clear ( )

    Clears the content of the set.

    ◆ Curve()

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

    Returns the Curve of index .

    ◆ Dump()

    void GeomTools_CurveSet::Dump ( Standard_OStream & OS) const

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

    ◆ Index()

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

    Returns the index of <L>.

    ◆ PrintCurve()

    void GeomTools_CurveSet::PrintCurve ( const occ::handle< Geom_Curve > & C,
    Standard_OStream & OS,
    const bool compact = false )
    static

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

    ◆ Read()

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

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

    ◆ ReadCurve()

    occ::handle< Geom_Curve > GeomTools_CurveSet::ReadCurve ( Standard_IStream & IS)
    static

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

    ◆ Write()

    void GeomTools_CurveSet::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: