Geant4 11.2.2
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 = nullptr
 
G4ReduciblePolygon::ABVertexcurrent = nullptr
 

Detailed Description

Definition at line 137 of file G4ReduciblePolygon.hh.

Constructor & Destructor Documentation

◆ G4ReduciblePolygonIterator()

G4ReduciblePolygonIterator::G4ReduciblePolygonIterator ( const G4ReduciblePolygon * theSubject)
inline

Definition at line 141 of file G4ReduciblePolygon.hh.

142 {
143 subject = theSubject; current = nullptr;
144 }
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 154 of file G4ReduciblePolygon.hh.

154{ return current != nullptr; }

Referenced by Next().

Member Data Documentation

◆ current

G4ReduciblePolygon::ABVertex* G4ReduciblePolygonIterator::current = nullptr
protected

Definition at line 162 of file G4ReduciblePolygon.hh.

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

◆ subject

const G4ReduciblePolygon* G4ReduciblePolygonIterator::subject = nullptr
protected

Definition at line 161 of file G4ReduciblePolygon.hh.

Referenced by Begin(), and G4ReduciblePolygonIterator().


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