Open CASCADE Technology  7.3.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

◆ Iterator() [1/2]

Poly_CoherentTriPtr::Iterator::Iterator ( )
inline

Empty constructor.

◆ Iterator() [2/2]

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

Constructor.

Member Function Documentation

◆ ChangeValue()

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

Get the current iterated triangle (mutable)

◆ First()

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

Query the triangle that started the current iteration.

◆ More()

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

Query if there is available triangle pointer on this iteration.

◆ Next()

void Poly_CoherentTriPtr::Iterator::Next ( )

Go to the next iteration.

◆ PtrValue()

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

Get the current iterated pointer to triangle.

◆ Value()

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: