fesa-core  7.0.0
fesa::PointIterator< PointType > Class Template Reference

#include <PointsIterator.h>

Inherits iterator_adaptor< PointIterator< PointType >, PointType *, boost::use_default, boost::random_access_traversal_tag >.

Public Member Functions

 PointIterator (PointType *current)
 
 PointIterator (const double *x, const double *y)
 

Detailed Description

template<typename PointType>
class fesa::PointIterator< PointType >

An iterator over Points. Can iterate over an array of Point or over 2 parallel array of doubles (x and y coordinates).

Constructor & Destructor Documentation

template<typename PointType>
fesa::PointIterator< PointType >::PointIterator ( PointType *  current)
inlineexplicit

Instantiates an iterator over an array of points.

template<typename PointType>
fesa::PointIterator< PointType >::PointIterator ( const double *  x,
const double *  y 
)
inline

Instantiates an iterator over 2 parallel arrays of doubles.

Parameters
xan array of x coordinates
yan array of y coordinates

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