Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4ReduciblePolygonIterator Class Reference

#include <G4ReduciblePolygon.hh>

Collaboration diagram for G4ReduciblePolygonIterator:

Public Member Functions

 G4ReduciblePolygonIterator (const G4ReduciblePolygon *theSubject)
 
void Begin ()
 
G4bool Next ()
 
G4bool Valid () const
 
G4double GetA () const
 
G4double GetB () const
 

Protected Attributes

const G4ReduciblePolygonsubject
 
G4ReduciblePolygon::ABVertexcurrent
 

Detailed Description

Definition at line 163 of file G4ReduciblePolygon.hh.

Constructor & Destructor Documentation

G4ReduciblePolygonIterator::G4ReduciblePolygonIterator ( const G4ReduciblePolygon theSubject)
inline

Definition at line 167 of file G4ReduciblePolygon.hh.

168  { subject = theSubject; current=0; }
G4ReduciblePolygon::ABVertex * current
const G4ReduciblePolygon * subject

Member Function Documentation

void G4ReduciblePolygonIterator::Begin ( )
inline

Definition at line 170 of file G4ReduciblePolygon.hh.

170 { current = subject->vertexHead; }
G4ReduciblePolygon::ABVertex * current
const G4ReduciblePolygon * subject

Here is the caller graph for this function:

G4double G4ReduciblePolygonIterator::GetA ( ) const
inline

Definition at line 175 of file G4ReduciblePolygon.hh.

175 { return current->a; }
G4ReduciblePolygon::ABVertex * current

Here is the caller graph for this function:

G4double G4ReduciblePolygonIterator::GetB ( ) const
inline

Definition at line 176 of file G4ReduciblePolygon.hh.

176 { return current->b; }
G4ReduciblePolygon::ABVertex * current

Here is the caller graph for this function:

G4bool G4ReduciblePolygonIterator::Next ( )
inline

Definition at line 171 of file G4ReduciblePolygon.hh.

171 { if (current) current=current->next; return Valid(); }
G4ReduciblePolygon::ABVertex * current

Here is the call graph for this function:

Here is the caller graph for this function:

G4bool G4ReduciblePolygonIterator::Valid ( ) const
inline

Definition at line 173 of file G4ReduciblePolygon.hh.

173 { return current!=0; }
G4ReduciblePolygon::ABVertex * current

Here is the caller graph for this function:

Member Data Documentation

G4ReduciblePolygon::ABVertex* G4ReduciblePolygonIterator::current
protected

Definition at line 181 of file G4ReduciblePolygon.hh.

const G4ReduciblePolygon* G4ReduciblePolygonIterator::subject
protected

Definition at line 180 of file G4ReduciblePolygon.hh.


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