Open CASCADE Technology
6.5.4
|
SketchExplorer is an iterator on a sketch. A
sketch is a set of contours, each contour is a set
of curves from Geom2d.
#include <MAT2d_SketchExplorer.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC Standard_Integer | NumberOfContours () const |
Returns the number of contours in the figure. | |
void | Init (const Standard_Integer ContourIndex) |
Initializes the curves explorer on the contour of range <ContourIndex>. | |
Standard_Boolean | More () const |
Returns False if there is no more curves on the current contour. | |
void | Next () |
Moves to the next curve of the current contour. | |
Handle_Geom2d_Curve | Value () const |
Returns the current curve on the current contour. |
void MAT2d_SketchExplorer::Init | ( | const Standard_Integer | ContourIndex | ) |
Standard_Boolean MAT2d_SketchExplorer::More | ( | ) | const |
Handle_Geom2d_Curve MAT2d_SketchExplorer::Value | ( | ) | const |