Open CASCADE Technology  7.2.0
Public Member Functions

MAT2d_SketchExplorer Class Reference

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_CurveValue () const
 Returns the current curve on the current contour. More...
 

Detailed Description

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.

Member Function Documentation

◆ Init()

void MAT2d_SketchExplorer::Init ( const Standard_Integer  ContourIndex)

Initializes the curves explorer on the contour of range <ContourIndex>.

◆ More()

Standard_Boolean MAT2d_SketchExplorer::More ( ) const

Returns False if there is no more curves on the current contour.

◆ Next()

void MAT2d_SketchExplorer::Next ( )

Moves to the next curve of the current contour.

◆ NumberOfContours()

Standard_Integer MAT2d_SketchExplorer::NumberOfContours ( ) const

Returns the number of contours in the figure.

◆ Value()

Handle< Geom2d_Curve > MAT2d_SketchExplorer::Value ( ) const

Returns the current curve on the current contour.


The documentation for this class was generated from the following file: