|
KiCad PCB EDA Suite
|
Base class for iterating over all segments in a given SHAPE_POLY_SET. More...
#include <shape_poly_set.h>
Public Member Functions | |
| 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 |
Private Attributes | |
| SHAPE_POLY_SET * | m_poly |
| int | m_currentPolygon |
| int | m_currentContour |
| int | m_currentSegment |
| int | m_lastPolygon |
| bool | m_iterateHoles |
Friends | |
| class | SHAPE_POLY_SET |
Base class for iterating over all segments in a given SHAPE_POLY_SET.
Definition at line 386 of file shape_poly_set.h.
|
inline |
Advance the indices of the current vertex/outline/contour, checking whether the vertices in the holes have to be iterated through.
Definition at line 406 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::SEGMENT_ITERATOR_TEMPLATE< SEG >::operator++(), and SHAPE_POLY_SET::SEGMENT_ITERATOR_TEMPLATE< SEG >::operator++().
|
inline |
Definition at line 458 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::SEGMENT_ITERATOR_TEMPLATE< SEG >::operator*().
|
inline |
Definition at line 471 of file shape_poly_set.h.
|
inline |
| aOther | is an iterator pointing to another segment. |
Definition at line 487 of file shape_poly_set.h.
|
inline |
Definition at line 392 of file shape_poly_set.h.
|
inline |
Definition at line 397 of file shape_poly_set.h.
|
inline |
Definition at line 463 of file shape_poly_set.h.
|
inline |
Definition at line 453 of file shape_poly_set.h.
|
inline |
Definition at line 448 of file shape_poly_set.h.
|
friend |
Definition at line 511 of file shape_poly_set.h.
|
private |
Definition at line 515 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::CIterateSegments(), SHAPE_POLY_SET::SEGMENT_ITERATOR_TEMPLATE< SEG >::IsAdjacent(), and SHAPE_POLY_SET::IterateSegments().
|
private |
Definition at line 514 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::CIterateSegments(), SHAPE_POLY_SET::SEGMENT_ITERATOR_TEMPLATE< SEG >::IsAdjacent(), and SHAPE_POLY_SET::IterateSegments().
|
private |
Definition at line 516 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::CIterateSegments(), SHAPE_POLY_SET::SEGMENT_ITERATOR_TEMPLATE< SEG >::IsAdjacent(), and SHAPE_POLY_SET::IterateSegments().
|
private |
Definition at line 518 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::CIterateSegments(), and SHAPE_POLY_SET::IterateSegments().
|
private |
Definition at line 517 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::CIterateSegments(), and SHAPE_POLY_SET::IterateSegments().
|
private |
Definition at line 513 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::CIterateSegments(), SHAPE_POLY_SET::SEGMENT_ITERATOR_TEMPLATE< SEG >::IsAdjacent(), and SHAPE_POLY_SET::IterateSegments().