CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
Public Member Functions | List of all members
CartoType::TContour::LineIter Class Reference

#include <cartotype_path.h>

Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

◆ LineIter()

CartoType::TContour::LineIter::LineIter ( const TContour aContour,
size_t  aIndex 
)
inline

Creates an iterator over the lines in a contour.

Member Function Documentation

◆ LinesRemaining()

size_t CartoType::TContour::LineIter::LinesRemaining ( ) const
inline

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

◆ operator!=()

bool CartoType::TContour::LineIter::operator!= ( const LineIter aOther) const
inline

The inequality operator.

◆ operator*()

const TLine & CartoType::TContour::LineIter::operator* ( ) const
inline

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

◆ operator++()

LineIter & CartoType::TContour::LineIter::operator++ ( )
inline

Increments this iterator to refer to the next line.

◆ operator->()

const TLine * CartoType::TContour::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: