Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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.
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...
 

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.

Member Function Documentation

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.


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