HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GA_GBPointIterator Class Reference

#include <POP_Node.h>

Public Member Functions

 GA_GBPointIterator (const GA_Detail &gdp)
 Iterate over all points. More...
 
 GA_GBPointIterator (const GA_Detail &gdp, GA_Range::safedeletions)
 
 GA_GBPointIterator (const GA_Detail &gdp, const GA_GBPoint *first, const GA_GBPoint *last)
 Iterate over all points from the given point till the last in the list. More...
 
 GA_GBPointIterator (const GA_Detail &gdp, const GA_PointGroup *group)
 Iterate over all points in group (group is optional) More...
 
 GA_GBPointIterator (const GA_Detail &gdp, const GA_PointGroup *group, GA_Range::safedeletions)
 
 GA_GBPointIterator (const GA_Detail &gdp1, const GA_PointGroup *group1, const GA_Detail &gdp2, const GA_PointGroup *group2)
 Iterate over pairs of points - groups are optional. More...
 
 ~GA_GBPointIterator ()
 Destructor. More...
 
GA_GBPointPgetPoint () const
 Return the current point (NULL if complete) More...
 
GA_GBPointPgetNextPoint () const
 Return the next point (NULL if no valid point) More...
 
GA_GBPointPgetPoint2 () const
 Return the current point from the 2nd detail (NULL if complete) More...
 
GA_GBPointPgetNextPoint2 () const
 Return the next point from the 2nd detail. More...
 
void advance ()
 Advance to next iteration. More...
 
GA_GBPointIteratoroperator++ ()
 Increment operator calls advance() to move to the next element. More...
 

Detailed Description

Definition at line 75 of file POP_Node.h.

Constructor & Destructor Documentation

GA_GBPointIterator::GA_GBPointIterator ( const GA_Detail gdp)
explicit

Iterate over all points.

GA_GBPointIterator::GA_GBPointIterator ( const GA_Detail gdp,
GA_Range::safedeletions   
)
GA_GBPointIterator::GA_GBPointIterator ( const GA_Detail gdp,
const GA_GBPoint first,
const GA_GBPoint last 
)

Iterate over all points from the given point till the last in the list.

GA_GBPointIterator::GA_GBPointIterator ( const GA_Detail gdp,
const GA_PointGroup group 
)

Iterate over all points in group (group is optional)

GA_GBPointIterator::GA_GBPointIterator ( const GA_Detail gdp,
const GA_PointGroup group,
GA_Range::safedeletions   
)
GA_GBPointIterator::GA_GBPointIterator ( const GA_Detail gdp1,
const GA_PointGroup group1,
const GA_Detail gdp2,
const GA_PointGroup group2 
)

Iterate over pairs of points - groups are optional.

GA_GBPointIterator::~GA_GBPointIterator ( )

Destructor.

Member Function Documentation

void GA_GBPointIterator::advance ( )

Advance to next iteration.

GA_GBPointP& GA_GBPointIterator::getNextPoint ( ) const
inline

Return the next point (NULL if no valid point)

Definition at line 112 of file POP_Node.h.

GA_GBPointP& GA_GBPointIterator::getNextPoint2 ( ) const
inline

Return the next point from the 2nd detail.

Definition at line 119 of file POP_Node.h.

GA_GBPointP& GA_GBPointIterator::getPoint ( ) const
inline

Return the current point (NULL if complete)

Definition at line 109 of file POP_Node.h.

GA_GBPointP& GA_GBPointIterator::getPoint2 ( ) const
inline

Return the current point from the 2nd detail (NULL if complete)

Definition at line 116 of file POP_Node.h.

GA_GBPointIterator& GA_GBPointIterator::operator++ ( )
inline

Increment operator calls advance() to move to the next element.

Definition at line 127 of file POP_Node.h.


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