Geant4_10
Public Member Functions | List of all members
USphere Class Reference

#include <USphere.hh>

Inheritance diagram for USphere:
Inheritance graph
[legend]
Collaboration diagram for USphere:
Collaboration graph
[legend]

Public Member Functions

 USphere (const std::string &pName, double pRmin, double pRmax, double pSPhi, double pDPhi, double pSTheta, double pDTheta)
 
 ~USphere ()
 
double GetInnerRadius () const
 
double GetOuterRadius () const
 
double GetStartPhiAngle () const
 
double GetDeltaPhiAngle () const
 
double GetStartThetaAngle () const
 
double GetDeltaThetaAngle () const
 
void SetInnerRadius (double newRMin)
 
void SetOuterRadius (double newRmax)
 
void SetStartPhiAngle (double newSphi, bool trig=true)
 
void SetDeltaPhiAngle (double newDphi)
 
void SetStartThetaAngle (double newSTheta)
 
void SetDeltaThetaAngle (double newDTheta)
 
double Capacity ()
 
double SurfaceArea ()
 
VUSolid::EnumInside Inside (const UVector3 &p) const
 
bool Normal (const UVector3 &p, UVector3 &n) const
 
double DistanceToIn (const UVector3 &p, const UVector3 &v, double aPstep=UUtils::kInfinity) const
 
double SafetyFromOutside (const UVector3 &p, bool aAccurate=false) const
 
double DistanceToOut (const UVector3 &p, const UVector3 &v, UVector3 &n, bool &validNorm, double aPstep=UUtils::kInfinity) const
 
double SafetyFromInside (const UVector3 &p, bool aAccurate=false) const
 
UGeometryType GetEntityType () const
 
UVector3 GetPointOnSurface () const
 
VUSolidClone () const
 
std::ostream & StreamInfo (std::ostream &os) const
 
UVisExtent GetExtent () const
 
void Extent (UVector3 &aMin, UVector3 &aMax) const
 
void GetParametersList (int, double *) const
 
virtual void ComputeBBox (UBBox *, bool)
 
 USphere (const USphere &rhs)
 
USphereoperator= (const USphere &rhs)
 
double GetRmin () const
 
double GetRmax () const
 
double GetSPhi () const
 
double GetDPhi () const
 
double GetSTheta () const
 
double GetDTheta () const
 
double GetInsideRadius () const
 
void SetInsideRadius (double newRmin)
 
- Public Member Functions inherited from VUSolid
 VUSolid ()
 
 VUSolid (const std::string &name)
 
virtual ~VUSolid ()
 
double GetCarTolerance () const
 
double GetRadTolerance () const
 
double GetAngTolerance () const
 
void SetCarTolerance (double eps)
 
void SetRadTolerance (double eps)
 
void SetAngTolerance (double eps)
 
virtual void ExtentAxis (EAxisType aAxis, double &aMin, double &aMax) const
 
const std::string & GetName () const
 
void SetName (const std::string &aName)
 
virtual void SamplePointsInside (int, UVector3 *) const
 
virtual void SamplePointsOnSurface (int, UVector3 *) const
 
virtual void SamplePointsOnEdge (int, UVector3 *) const
 
double EstimateCubicVolume (int nStat, double epsilon) const
 
double EstimateSurfaceArea (int nStat, double ell) const
 

Additional Inherited Members

- Public Types inherited from VUSolid
enum  EnumInside { eInside =0, eSurface =1, eOutside =2 }
 
enum  EAxisType { eXaxis =0, eYaxis =1, eZaxis =2 }
 
- Static Public Member Functions inherited from VUSolid
static double Tolerance ()
 
- Static Protected Attributes inherited from VUSolid
static double fgTolerance = 1.0E-9
 
static double frTolerance = 1.0E-9
 
static double faTolerance = 1.0E-9
 

Detailed Description

Definition at line 55 of file USphere.hh.

Constructor & Destructor Documentation

USphere::USphere ( const std::string &  pName,
double  pRmin,
double  pRmax,
double  pSPhi,
double  pDPhi,
double  pSTheta,
double  pDTheta 
)

Definition at line 34 of file USphere.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

USphere::~USphere ( )

Definition at line 70 of file USphere.cc.

USphere::USphere ( const USphere rhs)

Definition at line 78 of file USphere.cc.

Member Function Documentation

double USphere::Capacity ( )
inlinevirtual

Implements VUSolid.

Definition at line 489 of file USphere.hh.

VUSolid * USphere::Clone ( ) const
virtual

Implements VUSolid.

Definition at line 2805 of file USphere.cc.

Here is the call graph for this function:

virtual void USphere::ComputeBBox ( UBBox ,
bool   
)
inlinevirtual

Implements VUSolid.

Definition at line 129 of file USphere.hh.

double USphere::DistanceToIn ( const UVector3 p,
const UVector3 v,
double  aPstep = UUtils::kInfinity 
) const
virtual

Implements VUSolid.

Definition at line 611 of file USphere.cc.

Here is the call graph for this function:

double USphere::DistanceToOut ( const UVector3 p,
const UVector3 v,
UVector3 n,
bool &  validNorm,
double  aPstep = UUtils::kInfinity 
) const
virtual

Implements VUSolid.

Definition at line 1651 of file USphere.cc.

Here is the call graph for this function:

void USphere::Extent ( UVector3 aMin,
UVector3 aMax 
) const
virtual

Implements VUSolid.

Definition at line 2983 of file USphere.cc.

Here is the call graph for this function:

double USphere::GetDeltaPhiAngle ( ) const
inline

Definition at line 230 of file USphere.hh.

Here is the caller graph for this function:

double USphere::GetDeltaThetaAngle ( ) const
inline

Definition at line 241 of file USphere.hh.

Here is the caller graph for this function:

double USphere::GetDPhi ( ) const
inline

Definition at line 471 of file USphere.hh.

Here is the call graph for this function:

double USphere::GetDTheta ( ) const
inline

Definition at line 483 of file USphere.hh.

Here is the call graph for this function:

UGeometryType USphere::GetEntityType ( ) const
virtual

Implements VUSolid.

Definition at line 2796 of file USphere.cc.

UVisExtent USphere::GetExtent ( ) const
double USphere::GetInnerRadius ( ) const
inline

Definition at line 212 of file USphere.hh.

Here is the caller graph for this function:

double USphere::GetInsideRadius ( ) const
inline

Definition at line 206 of file USphere.hh.

Here is the caller graph for this function:

double USphere::GetOuterRadius ( ) const
inline

Definition at line 218 of file USphere.hh.

Here is the caller graph for this function:

void USphere::GetParametersList ( int  ,
double *  aArray 
) const
virtual

Implements VUSolid.

Definition at line 2989 of file USphere.cc.

Here is the call graph for this function:

UVector3 USphere::GetPointOnSurface ( ) const
virtual

Implements VUSolid.

Definition at line 2838 of file USphere.cc.

Here is the call graph for this function:

double USphere::GetRmax ( ) const
inline

Definition at line 459 of file USphere.hh.

Here is the call graph for this function:

double USphere::GetRmin ( ) const
inline

Definition at line 453 of file USphere.hh.

Here is the call graph for this function:

double USphere::GetSPhi ( ) const
inline

Definition at line 465 of file USphere.hh.

Here is the call graph for this function:

double USphere::GetStartPhiAngle ( ) const
inline

Definition at line 224 of file USphere.hh.

Here is the caller graph for this function:

double USphere::GetStartThetaAngle ( ) const
inline

Definition at line 236 of file USphere.hh.

Here is the caller graph for this function:

double USphere::GetSTheta ( ) const
inline

Definition at line 477 of file USphere.hh.

Here is the call graph for this function:

VUSolid::EnumInside USphere::Inside ( const UVector3 p) const
virtual

Implements VUSolid.

Definition at line 164 of file USphere.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

bool USphere::Normal ( const UVector3 p,
UVector3 n 
) const
virtual

Implements VUSolid.

Definition at line 273 of file USphere.cc.

Here is the call graph for this function:

USphere & USphere::operator= ( const USphere rhs)

Definition at line 103 of file USphere.cc.

double USphere::SafetyFromInside ( const UVector3 p,
bool  aAccurate = false 
) const
virtual

Implements VUSolid.

Definition at line 2557 of file USphere.cc.

Here is the call graph for this function:

double USphere::SafetyFromOutside ( const UVector3 p,
bool  aAccurate = false 
) const
virtual

Implements VUSolid.

Definition at line 1546 of file USphere.cc.

void USphere::SetDeltaPhiAngle ( double  newDphi)
inline

Definition at line 430 of file USphere.hh.

Here is the caller graph for this function:

void USphere::SetDeltaThetaAngle ( double  newDTheta)
inline

Definition at line 444 of file USphere.hh.

Here is the caller graph for this function:

void USphere::SetInnerRadius ( double  newRMin)
inline

Definition at line 401 of file USphere.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

void USphere::SetInsideRadius ( double  newRmin)
inline

Definition at line 393 of file USphere.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

void USphere::SetOuterRadius ( double  newRmax)
inline

Definition at line 407 of file USphere.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

void USphere::SetStartPhiAngle ( double  newSphi,
bool  trig = true 
)
inline

Definition at line 415 of file USphere.hh.

Here is the caller graph for this function:

void USphere::SetStartThetaAngle ( double  newSTheta)
inline

Definition at line 437 of file USphere.hh.

Here is the caller graph for this function:

std::ostream & USphere::StreamInfo ( std::ostream &  os) const
virtual

Implements VUSolid.

Definition at line 2814 of file USphere.cc.

Here is the call graph for this function:

double USphere::SurfaceArea ( )
virtual

Implements VUSolid.

Definition at line 2935 of file USphere.cc.


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