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