CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
Public Member Functions | List of all members
CartoTypeCore::ContourView::LineIter Class Reference

#include <cartotype_path.h>

Public Member Functions

 LineIter (const ContourView &aContour, size_t aIndex)
 
LineIteroperator++ ()
 
bool operator!= (const LineIter &aOther) const
 
const Lineoperator* () const
 
const Lineoperator-> () const
 
size_t LinesRemaining () const
 

Detailed Description

An iterator to traverse the lines (sections between successive points) of a contour.

Constructor & Destructor Documentation

◆ LineIter()

CartoTypeCore::ContourView::LineIter::LineIter ( const ContourView aContour,
size_t  aIndex 
)
inline

Creates an iterator over the lines in a contour.

Member Function Documentation

◆ LinesRemaining()

size_t CartoTypeCore::ContourView::LineIter::LinesRemaining ( ) const
inline

Returns the number of lines remaining to be traversed by this iterator.

◆ operator!=()

bool CartoTypeCore::ContourView::LineIter::operator!= ( const LineIter aOther) const
inline

The inequality operator.

◆ operator*()

const Line & CartoTypeCore::ContourView::LineIter::operator* ( ) const
inline

Returns a reference to the line to which this iterator refers.

◆ operator++()

LineIter & CartoTypeCore::ContourView::LineIter::operator++ ( )
inline

Increments this iterator to refer to the next line.

◆ operator->()

const Line * CartoTypeCore::ContourView::LineIter::operator-> ( ) const
inline

Returns a pointer to the line to which this iterator refers.


The documentation for this class was generated from the following file: