Open CASCADE Technology 6.6.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.

#include <MAT2d_SketchExplorer.hxx>

Public Member Functions

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.


Member Function Documentation

void MAT2d_SketchExplorer::Init ( const Standard_Integer  ContourIndex)
Standard_Boolean MAT2d_SketchExplorer::More ( ) const
void MAT2d_SketchExplorer::Next ( )
Standard_Integer MAT2d_SketchExplorer::NumberOfContours ( ) const
Handle_Geom2d_Curve MAT2d_SketchExplorer::Value ( ) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines