| 
    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 379 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 399 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 451 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::SEGMENT_ITERATOR_TEMPLATE< SEG >::operator*().
      
  | 
  inline | 
Definition at line 464 of file shape_poly_set.h.
      
  | 
  inline | 
| aOther | is an iterator pointing to another segment. | 
Definition at line 480 of file shape_poly_set.h.
      
  | 
  inline | 
Definition at line 385 of file shape_poly_set.h.
      
  | 
  inline | 
Definition at line 390 of file shape_poly_set.h.
      
  | 
  inline | 
Definition at line 456 of file shape_poly_set.h.
      
  | 
  inline | 
Definition at line 446 of file shape_poly_set.h.
      
  | 
  inline | 
Definition at line 441 of file shape_poly_set.h.
      
  | 
  friend | 
Definition at line 504 of file shape_poly_set.h.
      
  | 
  private | 
Definition at line 508 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 507 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 509 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(), and SHAPE_POLY_SET::IterateSegments().
      
  | 
  private | 
Definition at line 510 of file shape_poly_set.h.
Referenced by SHAPE_POLY_SET::CIterateSegments(), and SHAPE_POLY_SET::IterateSegments().
      
  | 
  private | 
Definition at line 506 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().