KiCad PCB EDA Suite
|
Base class for iterating over all vertices in a given SHAPE_POLY_SET. More...
#include <shape_poly_set.h>
Public Member Functions | |
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 () |
Private Attributes | |
SHAPE_POLY_SET * | m_poly |
int | m_currentPolygon |
int | m_currentContour |
int | m_currentVertex |
int | m_lastPolygon |
bool | m_iterateHoles |
Friends | |
class | SHAPE_POLY_SET |
Base class for iterating over all vertices in a given SHAPE_POLY_SET.
Definition at line 249 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 288 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::ITERATOR_TEMPLATE< VECTOR2I >::operator++(), and SHAPE_POLY_SET::ITERATOR_TEMPLATE< VECTOR2I >::operator++().
|
inline |
Definition at line 335 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::ITERATOR_TEMPLATE< VECTOR2I >::operator*(), and SHAPE_POLY_SET::ITERATOR_TEMPLATE< VECTOR2I >::operator->().
|
inline |
Definition at line 353 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::RemoveNullSegments().
|
inline |
Definition at line 257 of file shape_poly_set.h.
Referenced by PCB_POINT_EDITOR::addCorner(), DSN::SPECCTRA_DB::FromBOARD(), DSN::SPECCTRA_DB::makeIMAGE(), and SHAPE_POLY_SET::RemoveNullSegments().
|
inline |
Definition at line 265 of file shape_poly_set.h.
|
inline |
Definition at line 270 of file shape_poly_set.h.
|
inline |
Definition at line 340 of file shape_poly_set.h.
|
inline |
Definition at line 330 of file shape_poly_set.h.
|
inline |
Definition at line 325 of file shape_poly_set.h.
|
inline |
Definition at line 345 of file shape_poly_set.h.
|
friend |
Definition at line 365 of file shape_poly_set.h.
|
private |
Definition at line 369 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::CIterate(), SHAPE_POLY_SET::Iterate(), and SHAPE_POLY_SET::IterateFromVertexWithHoles().
|
private |
Definition at line 368 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::CIterate(), SHAPE_POLY_SET::Iterate(), and SHAPE_POLY_SET::IterateFromVertexWithHoles().
|
private |
Definition at line 370 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::CIterate(), SHAPE_POLY_SET::Iterate(), and SHAPE_POLY_SET::IterateFromVertexWithHoles().
|
private |
Definition at line 372 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::CIterate(), and SHAPE_POLY_SET::Iterate().
|
private |
Definition at line 371 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::CIterate(), and SHAPE_POLY_SET::Iterate().
|
private |
Definition at line 367 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::CIterate(), and SHAPE_POLY_SET::Iterate().