Open CASCADE Technology  6.9.0
Public Member Functions | Static Public Member Functions
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. More...
 
void Clear ()
 Clears the content of the set. More...
 
Standard_Integer Add (const Handle< Geom_Curve > &C)
 Incorporate a new Curve in the set and returns its index. More...
 
Handle< Geom_CurveCurve (const Standard_Integer I) const
 Returns the Curve of index . More...
 
Standard_Integer Index (const Handle< Geom_Curve > &C) const
 Returns the index of <L>. More...
 
void Dump (Standard_OStream &OS) const
 Dumps the content of me on the stream <OS>. More...
 
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. More...
 
void Read (Standard_IStream &IS)
 Reads the content of me from the stream <IS>. me is first cleared. More...
 
void SetProgress (const Handle< Message_ProgressIndicator > &PR)
 
Handle< Message_ProgressIndicatorGetProgress () const
 

Static Public Member Functions

static void PrintCurve (const Handle< Geom_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. More...
 
static Standard_IStreamReadCurve (Standard_IStream &IS, Handle< Geom_Curve > &C)
 Reads the curve from the stream. The curve is assumed to have been writtent with the Print method (compact = True). More...
 

Detailed Description

Stores a set of Curves from Geom.

Constructor & Destructor Documentation

GeomTools_CurveSet::GeomTools_CurveSet ( )

Returns an empty set of Curves.

Member Function Documentation

Standard_Integer GeomTools_CurveSet::Add ( const Handle< Geom_Curve > &  C)

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

void GeomTools_CurveSet::Clear ( )

Clears the content of the set.

Handle< Geom_Curve > GeomTools_CurveSet::Curve ( const Standard_Integer  I) const

Returns the Curve of index .

void GeomTools_CurveSet::Dump ( Standard_OStream OS) const

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

Handle< Message_ProgressIndicator > GeomTools_CurveSet::GetProgress ( ) const
Standard_Integer GeomTools_CurveSet::Index ( const Handle< Geom_Curve > &  C) const

Returns the index of <L>.

static void GeomTools_CurveSet::PrintCurve ( const Handle< Geom_Curve > &  C,
Standard_OStream OS,
const Standard_Boolean  compact = Standard_False 
)
static

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

void GeomTools_CurveSet::Read ( Standard_IStream IS)

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

static Standard_IStream& GeomTools_CurveSet::ReadCurve ( Standard_IStream IS,
Handle< Geom_Curve > &  C 
)
static

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

void GeomTools_CurveSet::SetProgress ( const Handle< Message_ProgressIndicator > &  PR)
void GeomTools_CurveSet::Write ( Standard_OStream OS) 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: