#include <ShapeIterator.h>
ShapeIterators are used to generate and iterate over a shape tree. ShapeIterator defines the interface and a number of specializations provide actual implementations. Choose the one matching your application.
- See also
- DepthFirstIterator, BreadthFirstIterator, LeafIterator, InitialShapeIterator, SelectedShapesIterator, CGAPrintIterator, CGAErrorIterator, CGAReportIterator
◆ getNext()
virtual ShapePtr prtx::ShapeIterator::getNext |
( |
| ) |
|
|
pure virtual |
- Returns
- a valid shared pointer to the next shape while there are any or a nullptr pointer if there are no more shapes.
The documentation for this class was generated from the following file: