Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ReduciblePolygonIterator Class Reference

#include <G4ReduciblePolygon.hh>

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 162 of file G4ReduciblePolygon.hh.

Constructor & Destructor Documentation

◆ G4ReduciblePolygonIterator()

G4ReduciblePolygonIterator::G4ReduciblePolygonIterator ( const G4ReduciblePolygon theSubject)
inline

Definition at line 166 of file G4ReduciblePolygon.hh.

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

Member Function Documentation

◆ Begin()

void G4ReduciblePolygonIterator::Begin ( )
inline

◆ GetA()

G4double G4ReduciblePolygonIterator::GetA ( ) const
inline

◆ GetB()

G4double G4ReduciblePolygonIterator::GetB ( ) const
inline

◆ Next()

G4bool G4ReduciblePolygonIterator::Next ( )
inline

◆ Valid()

G4bool G4ReduciblePolygonIterator::Valid ( ) const
inline

Definition at line 172 of file G4ReduciblePolygon.hh.

172{ return current!=0; }

Referenced by Next().

Member Data Documentation

◆ current

G4ReduciblePolygon::ABVertex* G4ReduciblePolygonIterator::current
protected

Definition at line 180 of file G4ReduciblePolygon.hh.

Referenced by Begin(), G4ReduciblePolygonIterator(), GetA(), GetB(), Next(), and Valid().

◆ subject

const G4ReduciblePolygon* G4ReduciblePolygonIterator::subject
protected

Definition at line 179 of file G4ReduciblePolygon.hh.

Referenced by Begin(), and G4ReduciblePolygonIterator().


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