Base class for iterating over all vertices in a given SHAPE_POLY_SET.
More...
#include <shape_poly_set.h>
|
| bool | IsEndContour () const |
| |
| bool | IsLastPolygon () const |
| |
|
| operator bool () const |
| |
|
void | Advance () |
| | Advance the indices of the current vertex/outline/contour, checking whether the vertices in the holes have to be iterated through.
|
| |
|
void | operator++ (int dummy) |
| |
|
void | operator++ () |
| |
|
const T & | Get () |
| |
|
const T & | operator* () |
| |
|
const T * | operator-> () |
| |
| VERTEX_INDEX | GetIndex () |
| |
template<class T>
class SHAPE_POLY_SET::ITERATOR_TEMPLATE< T >
Base class for iterating over all vertices in a given SHAPE_POLY_SET.
◆ GetIndex()
- Returns
- the indices of the current polygon, contour and vertex.
◆ IsEndContour()
- Returns
- true if the current vertex is the last one of the current contour (outline or hole); false otherwise.
◆ IsLastPolygon()
- Returns
- true if the current outline is the last one; false otherwise.
The documentation for this class was generated from the following file: