// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _MAT2d_SketchExplorer_HeaderFile #define _MAT2d_SketchExplorer_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_Geom2d_Curve_HeaderFile #include #endif class Geom2d_Curve; //! SketchExplorer is an iterator on a sketch. A
//! sketch is a set of contours, each contour is a set
//! of curves from Geom2d.
class MAT2d_SketchExplorer { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } //! Returns the number of contours in the figure.
Standard_EXPORT Standard_Integer NumberOfContours() const; //! Initializes the curves explorer on the contour
//! of range .
Standard_EXPORT void Init(const Standard_Integer ContourIndex) ; //! Returns False if there is no more curves on the
//! current contour.
Standard_EXPORT Standard_Boolean More() const; //! Moves to the next curve of the current contour.
Standard_EXPORT void Next() ; //! Returns the current curve on the current contour.
Standard_EXPORT Handle_Geom2d_Curve Value() const; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif