20 #ifndef GeomAPI_ShapeIterator_H_
21 #define GeomAPI_ShapeIterator_H_
24 #include "GeomAPI_Shape.h"
44 GEOMAPI_EXPORT
void init(
const std::shared_ptr<GeomAPI_Shape> theShape);
47 GEOMAPI_EXPORT
bool more()
const;
50 GEOMAPI_EXPORT
void next();
53 GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Shape>
current();
General base class for all interfaces in this package.
Definition: GeomAPI_Interface.h:38
Iterates on the underlying shape underlying a given GeomAPI_Shape object, providing access to its com...
Definition: GeomAPI_ShapeIterator.h:33
bool more() const
Definition: GeomAPI_ShapeIterator.cpp:50
GeomAPI_ShapeIterator()
Default constructor. Creates an empty iterator, becomes usefull after Init.
Definition: GeomAPI_ShapeIterator.cpp:28
void init(const std::shared_ptr< GeomAPI_Shape > theShape)
Initializes this iterator with theShape.
Definition: GeomAPI_ShapeIterator.cpp:41
void next()
Moves on to the next sub-shape in the shape which this iterator is scanning.
Definition: GeomAPI_ShapeIterator.cpp:56
std::shared_ptr< GeomAPI_Shape > current()
Definition: GeomAPI_ShapeIterator.cpp:65