Open CASCADE Technology  6.9.0
Public Member Functions

Poly_CoherentTriPtr::Iterator Class Reference

#include <Poly_CoherentTriPtr.hxx>

Public Member Functions

 Iterator ()
 Empty constructor. More...
 
 Iterator (const Poly_CoherentTriPtr &thePtr)
 Constructor. More...
 
const Poly_CoherentTriangleFirst () const
 Query the triangle that started the current iteration. More...
 
Standard_Boolean More () const
 Query if there is available triangle pointer on this iteration. More...
 
void Next ()
 Go to the next iteration. More...
 
const Poly_CoherentTriangleValue () const
 Get the current iterated triangle. More...
 
Poly_CoherentTriangleChangeValue () const
 Get the current iterated triangle (mutable) More...
 
const Poly_CoherentTriPtrPtrValue () const
 Get the current iterated pointer to triangle. More...
 

Detailed Description

Iterator class for this list of triangles. Because the list is round, an iteration can be started from any member and it finishes before taking this member again. The iteration sense is always forward (Next).

Constructor & Destructor Documentation

Poly_CoherentTriPtr::Iterator::Iterator ( )
inline

Empty constructor.

Poly_CoherentTriPtr::Iterator::Iterator ( const Poly_CoherentTriPtr thePtr)
inline

Constructor.

Member Function Documentation

Poly_CoherentTriangle& Poly_CoherentTriPtr::Iterator::ChangeValue ( ) const
inline

Get the current iterated triangle (mutable)

const Poly_CoherentTriangle* Poly_CoherentTriPtr::Iterator::First ( ) const
inline

Query the triangle that started the current iteration.

Standard_Boolean Poly_CoherentTriPtr::Iterator::More ( void  ) const
inline

Query if there is available triangle pointer on this iteration.

void Poly_CoherentTriPtr::Iterator::Next ( )

Go to the next iteration.

const Poly_CoherentTriPtr& Poly_CoherentTriPtr::Iterator::PtrValue ( ) const
inline

Get the current iterated pointer to triangle.

const Poly_CoherentTriangle& Poly_CoherentTriPtr::Iterator::Value ( void  ) const
inline

Get the current iterated triangle.


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