|
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 383 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 403 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 455 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::SEGMENT_ITERATOR_TEMPLATE< SEG >::operator*().
|
inline |
Definition at line 468 of file shape_poly_set.h.
|
inline |
| aOther | is an iterator pointing to another segment. |
Definition at line 484 of file shape_poly_set.h.
|
inline |
Definition at line 389 of file shape_poly_set.h.
|
inline |
Definition at line 394 of file shape_poly_set.h.
|
inline |
Definition at line 460 of file shape_poly_set.h.
|
inline |
Definition at line 450 of file shape_poly_set.h.
|
inline |
Definition at line 445 of file shape_poly_set.h.
|
friend |
Definition at line 508 of file shape_poly_set.h.
|
private |
Definition at line 512 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 511 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 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().
|
private |
Definition at line 515 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::CIterateSegments(), and SHAPE_POLY_SET::IterateSegments().
|
private |
Definition at line 514 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::CIterateSegments(), and SHAPE_POLY_SET::IterateSegments().
|
private |
Definition at line 510 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().