Geant4  10.00.p03
UEnclosingCylinder Class Reference

#include <UEnclosingCylinder.hh>

+ Collaboration diagram for UEnclosingCylinder:

Public Member Functions

 UEnclosingCylinder (double r, double lo, double hi, bool phiIsOpen, double startPhi, double totalPhi)
 
 ~UEnclosingCylinder ()
 
bool MustBeOutside (const UVector3 &p) const
 
bool ShouldMiss (const UVector3 &p, const UVector3 &v) const
 
double DistanceTo (const UVector3 &p, const UVector3 &v) const
 
double SafetyFromOutside (const UVector3 &p) const
 
void Extent (UVector3 &aMin, UVector3 &aMax) const
 

Public Attributes

double radius
 

Protected Attributes

double zLo
 
double zHi
 
bool phiIsOpen
 
double startPhi
 
double totalPhi
 
double rx1
 
double ry1
 
double dx1
 
double dy1
 
double rx2
 
double ry2
 
double dx2
 
double dy2
 
bool concave
 
UTubstube
 

Detailed Description

Definition at line 31 of file UEnclosingCylinder.hh.

Constructor & Destructor Documentation

UEnclosingCylinder::UEnclosingCylinder ( double  r,
double  lo,
double  hi,
bool  phiIsOpen,
double  startPhi,
double  totalPhi 
)

Definition at line 31 of file UEnclosingCylinder.cc.

References dx1, dx2, dy1, dy2, phiIsOpen, radius, rx1, rx2, ry1, ry2, startPhi, VUSolid::Tolerance(), totalPhi, tube, zHi, and zLo.

+ Here is the call graph for this function:

UEnclosingCylinder::~UEnclosingCylinder ( )

Definition at line 87 of file UEnclosingCylinder.cc.

Member Function Documentation

double UEnclosingCylinder::DistanceTo ( const UVector3 p,
const UVector3 v 
) const

Definition at line 179 of file UEnclosingCylinder.cc.

References UTubs::DistanceToIn(), and tube.

+ Here is the call graph for this function:

void UEnclosingCylinder::Extent ( UVector3 aMin,
UVector3 aMax 
) const

Definition at line 173 of file UEnclosingCylinder.cc.

References radius, zHi, and zLo.

Referenced by UGenericPolycone::Extent(), and UPolyhedra::Extent().

+ Here is the caller graph for this function:

bool UEnclosingCylinder::MustBeOutside ( const UVector3 p) const

Definition at line 99 of file UEnclosingCylinder.cc.

References concave, dx1, dx2, dy1, dy2, UVector3::Perp2(), phiIsOpen, radius, rx1, rx2, ry1, ry2, UVector3::x, UVector3::y, UVector3::z, zHi, and zLo.

Referenced by UGenericPolycone::Inside(), UPolyhedra::Inside(), and ShouldMiss().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double UEnclosingCylinder::SafetyFromOutside ( const UVector3 p) const

Definition at line 184 of file UEnclosingCylinder.cc.

References UTubs::SafetyFromOutside(), and tube.

Referenced by UPolycone::SafetyFromOutside().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool UEnclosingCylinder::ShouldMiss ( const UVector3 p,
const UVector3 v 
) const

Definition at line 131 of file UEnclosingCylinder.cc.

References MustBeOutside(), UVector3::Perp2(), radius, UVector3::x, and UVector3::y.

Referenced by UGenericPolycone::DistanceToIn(), and UPolyhedra::DistanceToIn().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

bool UEnclosingCylinder::concave
protected

Definition at line 71 of file UEnclosingCylinder.hh.

Referenced by MustBeOutside().

double UEnclosingCylinder::dx1
protected

Definition at line 66 of file UEnclosingCylinder.hh.

Referenced by MustBeOutside(), and UEnclosingCylinder().

double UEnclosingCylinder::dx2
protected

Definition at line 68 of file UEnclosingCylinder.hh.

Referenced by MustBeOutside(), and UEnclosingCylinder().

double UEnclosingCylinder::dy1
protected

Definition at line 66 of file UEnclosingCylinder.hh.

Referenced by MustBeOutside(), and UEnclosingCylinder().

double UEnclosingCylinder::dy2
protected

Definition at line 68 of file UEnclosingCylinder.hh.

Referenced by MustBeOutside(), and UEnclosingCylinder().

bool UEnclosingCylinder::phiIsOpen
protected

Definition at line 62 of file UEnclosingCylinder.hh.

Referenced by MustBeOutside(), and UEnclosingCylinder().

double UEnclosingCylinder::radius
double UEnclosingCylinder::rx1
protected

Definition at line 66 of file UEnclosingCylinder.hh.

Referenced by MustBeOutside(), and UEnclosingCylinder().

double UEnclosingCylinder::rx2
protected

Definition at line 68 of file UEnclosingCylinder.hh.

Referenced by MustBeOutside(), and UEnclosingCylinder().

double UEnclosingCylinder::ry1
protected

Definition at line 66 of file UEnclosingCylinder.hh.

Referenced by MustBeOutside(), and UEnclosingCylinder().

double UEnclosingCylinder::ry2
protected

Definition at line 68 of file UEnclosingCylinder.hh.

Referenced by MustBeOutside(), and UEnclosingCylinder().

double UEnclosingCylinder::startPhi
protected

Definition at line 63 of file UEnclosingCylinder.hh.

Referenced by UEnclosingCylinder().

double UEnclosingCylinder::totalPhi
protected

Definition at line 63 of file UEnclosingCylinder.hh.

Referenced by UEnclosingCylinder().

UTubs* UEnclosingCylinder::tube
protected

Definition at line 73 of file UEnclosingCylinder.hh.

Referenced by DistanceTo(), SafetyFromOutside(), and UEnclosingCylinder().

double UEnclosingCylinder::zHi
protected

Definition at line 60 of file UEnclosingCylinder.hh.

Referenced by Extent(), MustBeOutside(), and UEnclosingCylinder().

double UEnclosingCylinder::zLo
protected

Definition at line 60 of file UEnclosingCylinder.hh.

Referenced by Extent(), MustBeOutside(), and UEnclosingCylinder().


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