Stores a set of Curves from Geom2d. More...
#include <GeomTools_Curve2dSet.hxx>
Public Member Functions | |
| GeomTools_Curve2dSet () | |
| Returns an empty set of Curves. | |
| void | Clear () |
| Clears the content of the set. | |
| Standard_Integer | Add (const Handle< Geom2d_Curve > &C) |
| Incorporate a new Curve in the set and returns its index. | |
| Handle< Geom2d_Curve > | Curve2d (const Standard_Integer I) const |
| Returns the Curve of index . | |
| Standard_Integer | Index (const Handle< Geom2d_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 | PrintCurve2d (const Handle< Geom2d_Curve > &C, Standard_OStream &OS, const Standard_Boolean compact=Standard_False) |
| Dumps the curve on the stream, if compact is True use the compact format that can be read back. | |
| static Handle< Geom2d_Curve > | ReadCurve2d (Standard_IStream &IS) |
| Reads the curve from the stream. The curve is assumed to have been written with the Print method (compact = True). | |
Stores a set of Curves from Geom2d.
| GeomTools_Curve2dSet::GeomTools_Curve2dSet | ( | ) |
Returns an empty set of Curves.
| Standard_Integer GeomTools_Curve2dSet::Add | ( | const Handle< Geom2d_Curve > & | C | ) |
Incorporate a new Curve in the set and returns its index.
| void GeomTools_Curve2dSet::Clear | ( | ) |
Clears the content of the set.
| Handle< Geom2d_Curve > GeomTools_Curve2dSet::Curve2d | ( | const Standard_Integer | I | ) | const |
Returns the Curve of index .
| void GeomTools_Curve2dSet::Dump | ( | Standard_OStream & | OS | ) | const |
Dumps the content of me on the stream <OS>.
| Standard_Integer GeomTools_Curve2dSet::Index | ( | const Handle< Geom2d_Curve > & | C | ) | const |
Returns the index of <L>.
|
static |
Dumps the curve on the stream, if compact is True use the compact format that can be read back.
| void GeomTools_Curve2dSet::Read | ( | Standard_IStream & | IS, |
| const Message_ProgressRange & | theProgress = Message_ProgressRange() ) |
Reads the content of me from the stream <IS>. me is first cleared.
|
static |
Reads the curve from the stream. The curve is assumed to have been written with the Print method (compact = True).
| void GeomTools_Curve2dSet::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.