Base class for iterating over all segments in a given SHAPE_POLY_SET.
More...
#include <shape_poly_set.h>
|
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++ () |
|
T | Get () |
|
T | operator* () |
|
VERTEX_INDEX | GetIndex () const |
|
bool | IsAdjacent (SEGMENT_ITERATOR_TEMPLATE< T > aOther) const |
|
template<class T>
class SHAPE_POLY_SET::SEGMENT_ITERATOR_TEMPLATE< T >
Base class for iterating over all segments in a given SHAPE_POLY_SET.
◆ GetIndex()
- Returns
- the indices of the current polygon, contour and vertex.
◆ IsAdjacent()
- Parameters
-
aOther | is an iterator pointing to another segment. |
- Returns
- true if both iterators point to the same segment of the same contour of the same polygon of the same polygon set; false otherwise.
◆ IsLastPolygon()
- Returns
- true if the current outline is the last one.
The documentation for this class was generated from the following file: