Geant4  10.03
G4EnclosingCylinder Class Reference

#include <G4EnclosingCylinder.hh>

Public Member Functions

 G4EnclosingCylinder (const G4ReduciblePolygon *rz, G4bool phiIsOpen, G4double startPhi, G4double totalPhi)
 
 ~G4EnclosingCylinder ()
 
G4bool MustBeOutside (const G4ThreeVector &p) const
 
G4bool ShouldMiss (const G4ThreeVector &p, const G4ThreeVector &v) const
 
 G4EnclosingCylinder (__void__ &)
 

Protected Attributes

G4double radius
 
G4double zLo
 
G4double zHi
 
G4bool phiIsOpen
 
G4double startPhi
 
G4double totalPhi
 
G4double rx1
 
G4double ry1
 
G4double dx1
 
G4double dy1
 
G4double rx2
 
G4double ry2
 
G4double dx2
 
G4double dy2
 
G4bool concave
 

Detailed Description

Definition at line 53 of file G4EnclosingCylinder.hh.

Constructor & Destructor Documentation

G4EnclosingCylinder::G4EnclosingCylinder ( const G4ReduciblePolygon rz,
G4bool  phiIsOpen,
G4double  startPhi,
G4double  totalPhi 
)

Definition at line 48 of file G4EnclosingCylinder.cc.

References G4ReduciblePolygon::Amax(), G4ReduciblePolygon::Bmax(), G4ReduciblePolygon::Bmin(), dx1, dx2, dy1, dy2, G4GeometryTolerance::GetInstance(), G4GeometryTolerance::GetSurfaceTolerance(), kCarTolerance, phiIsOpen, radius, rx1, rx2, ry1, ry2, startPhi, totalPhi, zHi, and zLo.

+ Here is the call graph for this function:

G4EnclosingCylinder::~G4EnclosingCylinder ( )

Definition at line 105 of file G4EnclosingCylinder.cc.

G4EnclosingCylinder::G4EnclosingCylinder ( __void__ &  )

Definition at line 95 of file G4EnclosingCylinder.cc.

Member Function Documentation

G4bool G4EnclosingCylinder::MustBeOutside ( const G4ThreeVector p) const

Definition at line 117 of file G4EnclosingCylinder.cc.

References concave, dx1, dx2, dy1, dy2, phiIsOpen, radius, rx1, rx2, ry1, ry2, zHi, and zLo.

Referenced by G4GenericPolycone::Inside(), G4Polyhedra::Inside(), G4Polycone::Inside(), and ShouldMiss().

+ Here is the caller graph for this function:

G4bool G4EnclosingCylinder::ShouldMiss ( const G4ThreeVector p,
const G4ThreeVector v 
) const

Definition at line 148 of file G4EnclosingCylinder.cc.

References MustBeOutside(), and radius.

Referenced by G4GenericPolycone::DistanceToIn(), G4Polyhedra::DistanceToIn(), and G4Polycone::DistanceToIn().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4bool G4EnclosingCylinder::concave
protected

Definition at line 91 of file G4EnclosingCylinder.hh.

Referenced by MustBeOutside().

G4double G4EnclosingCylinder::dx1
protected

Definition at line 86 of file G4EnclosingCylinder.hh.

Referenced by G4EnclosingCylinder(), and MustBeOutside().

G4double G4EnclosingCylinder::dx2
protected

Definition at line 88 of file G4EnclosingCylinder.hh.

Referenced by G4EnclosingCylinder(), and MustBeOutside().

G4double G4EnclosingCylinder::dy1
protected

Definition at line 86 of file G4EnclosingCylinder.hh.

Referenced by G4EnclosingCylinder(), and MustBeOutside().

G4double G4EnclosingCylinder::dy2
protected

Definition at line 88 of file G4EnclosingCylinder.hh.

Referenced by G4EnclosingCylinder(), and MustBeOutside().

G4bool G4EnclosingCylinder::phiIsOpen
protected

Definition at line 82 of file G4EnclosingCylinder.hh.

Referenced by G4EnclosingCylinder(), and MustBeOutside().

G4double G4EnclosingCylinder::radius
protected

Definition at line 79 of file G4EnclosingCylinder.hh.

Referenced by G4EnclosingCylinder(), MustBeOutside(), and ShouldMiss().

G4double G4EnclosingCylinder::rx1
protected

Definition at line 86 of file G4EnclosingCylinder.hh.

Referenced by G4EnclosingCylinder(), and MustBeOutside().

G4double G4EnclosingCylinder::rx2
protected

Definition at line 88 of file G4EnclosingCylinder.hh.

Referenced by G4EnclosingCylinder(), and MustBeOutside().

G4double G4EnclosingCylinder::ry1
protected

Definition at line 86 of file G4EnclosingCylinder.hh.

Referenced by G4EnclosingCylinder(), and MustBeOutside().

G4double G4EnclosingCylinder::ry2
protected

Definition at line 88 of file G4EnclosingCylinder.hh.

Referenced by G4EnclosingCylinder(), and MustBeOutside().

G4double G4EnclosingCylinder::startPhi
protected

Definition at line 83 of file G4EnclosingCylinder.hh.

Referenced by G4EnclosingCylinder().

G4double G4EnclosingCylinder::totalPhi
protected

Definition at line 83 of file G4EnclosingCylinder.hh.

Referenced by G4EnclosingCylinder().

G4double G4EnclosingCylinder::zHi
protected

Definition at line 80 of file G4EnclosingCylinder.hh.

Referenced by G4EnclosingCylinder(), and MustBeOutside().

G4double G4EnclosingCylinder::zLo
protected

Definition at line 80 of file G4EnclosingCylinder.hh.

Referenced by G4EnclosingCylinder(), and MustBeOutside().


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