OOFEM 3.0
Loading...
Searching...
No Matches
oofem::Polygon::PolygonVertexIterator Class Reference

#include <geotoolbox.h>

Collaboration diagram for oofem::Polygon::PolygonVertexIterator:

Public Member Functions

 PolygonVertexIterator (const Polygon *p)
void init (const Polygon *p)
int giveNext (Vertex &p1)
int giveNext (const Vertex **p1)

Private Attributes

const Polygonptr
std::list< Vertex >::const_iterator iter

Detailed Description

Definition at line 144 of file geotoolbox.h.

Constructor & Destructor Documentation

◆ PolygonVertexIterator()

oofem::Polygon::PolygonVertexIterator::PolygonVertexIterator ( const Polygon * p)
inline

Definition at line 149 of file geotoolbox.h.

References iter, oofem::Polygon::Polygon(), ptr, and oofem::Polygon::vertices.

Member Function Documentation

◆ giveNext() [1/2]

int oofem::Polygon::PolygonVertexIterator::giveNext ( const Vertex ** p1)
inline

Definition at line 167 of file geotoolbox.h.

References iter, and ptr.

◆ giveNext() [2/2]

int oofem::Polygon::PolygonVertexIterator::giveNext ( Vertex & p1)
inline

Definition at line 157 of file geotoolbox.h.

References iter, and ptr.

◆ init()

void oofem::Polygon::PolygonVertexIterator::init ( const Polygon * p)
inline

Definition at line 153 of file geotoolbox.h.

References iter, oofem::Polygon::Polygon(), ptr, and oofem::Polygon::vertices.

Member Data Documentation

◆ iter

std::list<Vertex>::const_iterator oofem::Polygon::PolygonVertexIterator::iter
private

Definition at line 147 of file geotoolbox.h.

Referenced by giveNext(), giveNext(), init(), and PolygonVertexIterator().

◆ ptr

const Polygon* oofem::Polygon::PolygonVertexIterator::ptr
private

Definition at line 146 of file geotoolbox.h.

Referenced by giveNext(), giveNext(), init(), and PolygonVertexIterator().


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

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011