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

#include <geotoolbox.h>

Collaboration diagram for oofem::Polygon::PolygonEdgeIterator:

Public Member Functions

 PolygonEdgeIterator (const Polygon *p)
int giveNext (Vertex &p1, Vertex &p2)

Private Attributes

bool last
const Polygonptr
Vertex curr
std::list< Vertex >::const_iterator iter

Detailed Description

Definition at line 105 of file geotoolbox.h.

Constructor & Destructor Documentation

◆ PolygonEdgeIterator()

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

Definition at line 112 of file geotoolbox.h.

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

Member Function Documentation

◆ giveNext()

int oofem::Polygon::PolygonEdgeIterator::giveNext ( Vertex & p1,
Vertex & p2 )
inline

Definition at line 122 of file geotoolbox.h.

References curr, iter, last, and ptr.

Member Data Documentation

◆ curr

Vertex oofem::Polygon::PolygonEdgeIterator::curr
private

Definition at line 109 of file geotoolbox.h.

Referenced by giveNext().

◆ iter

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

Definition at line 110 of file geotoolbox.h.

Referenced by giveNext(), and PolygonEdgeIterator().

◆ last

bool oofem::Polygon::PolygonEdgeIterator::last
private

Definition at line 107 of file geotoolbox.h.

Referenced by giveNext().

◆ ptr

const Polygon* oofem::Polygon::PolygonEdgeIterator::ptr
private

Definition at line 108 of file geotoolbox.h.

Referenced by giveNext(), and PolygonEdgeIterator().


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