Geant4-11
Public Member Functions | Protected Attributes
G4ReduciblePolygonIterator Class Reference

#include <G4ReduciblePolygon.hh>

Public Member Functions

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

Protected Attributes

G4ReduciblePolygon::ABVertexcurrent = nullptr
 
const G4ReduciblePolygonsubject = nullptr
 

Detailed Description

Definition at line 152 of file G4ReduciblePolygon.hh.

Constructor & Destructor Documentation

◆ G4ReduciblePolygonIterator()

G4ReduciblePolygonIterator::G4ReduciblePolygonIterator ( const G4ReduciblePolygon theSubject)
inline

Definition at line 156 of file G4ReduciblePolygon.hh.

157 { subject = theSubject; current = nullptr; }
G4ReduciblePolygon::ABVertex * current
const G4ReduciblePolygon * subject

References current, and 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 166 of file G4ReduciblePolygon.hh.

166{ return current != nullptr; }

References current.

Referenced by Next().

Field Documentation

◆ current

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

Definition at line 174 of file G4ReduciblePolygon.hh.

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

◆ subject

const G4ReduciblePolygon* G4ReduciblePolygonIterator::subject = nullptr
protected

Definition at line 173 of file G4ReduciblePolygon.hh.

Referenced by Begin(), and G4ReduciblePolygonIterator().


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