Geant4_10
Public Member Functions | Static Public Member Functions | List of all members
UTet Class Reference

#include <UTet.hh>

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

Public Member Functions

 UTet (const std::string &name, UVector3 anchor, UVector3 p2, UVector3 p3, UVector3 p4, bool *degeneracyFlag=0)
 
virtual ~UTet ()
 
EnumInside Inside (const UVector3 &p) const
 
bool Normal (const UVector3 &aPoint, UVector3 &aNormal) const
 
double SafetyFromInside (const UVector3 &aPoint, bool aAccurate=false) const
 
double SafetyFromOutside (const UVector3 &aPoint, bool aAccurate=false) const
 
double DistanceToIn (const UVector3 &aPoint, const UVector3 &aDirection, double aPstep=UUtils::kInfinity) const
 
double DistanceToOut (const UVector3 &aPoint, const UVector3 &aDirection, UVector3 &aNormalVector, bool &aConvex, double aPstep=UUtils::kInfinity) const
 
void Extent (UVector3 &aMin, UVector3 &aMax) const
 
double Capacity ()
 
double SurfaceArea ()
 
UGeometryType GetEntityType () const
 
void ComputeBBox (UBBox *, bool)
 
void GetParametersList (int aNumber, double *aArray) const
 
VUSolidClone () const
 
UVector3 GetPointOnSurface () const
 
std::ostream & StreamInfo (std::ostream &os) const
 
 UTet (const UTet &rhs)
 
UTetoperator= (const UTet &rhs)
 
const char * CVSHeaderVers ()
 
const char * CVSFileVers ()
 
void PrintWarnings (bool flag)
 
std::vector< UVector3GetVertices () const
 
- 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
 

Static Public Member Functions

static bool CheckDegeneracy (UVector3 &anchor, UVector3 &p2, UVector3 &p3, UVector3 &p4)
 
- Static Public Member Functions inherited from VUSolid
static double Tolerance ()
 

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 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 27 of file UTet.hh.

Constructor & Destructor Documentation

UTet::UTet ( const std::string &  name,
UVector3  anchor,
UVector3  p2,
UVector3  p3,
UVector3  p4,
bool *  degeneracyFlag = 0 
)

Definition at line 35 of file UTet.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

UTet::~UTet ( )
virtual

Definition at line 137 of file UTet.cc.

UTet::UTet ( const UTet rhs)

Definition at line 146 of file UTet.cc.

Member Function Documentation

double UTet::Capacity ( )
virtual

Implements VUSolid.

Definition at line 647 of file UTet.cc.

static bool UTet::CheckDegeneracy ( UVector3 anchor,
UVector3 p2,
UVector3 p3,
UVector3 p4 
)
static
VUSolid* UTet::Clone ( ) const
inlinevirtual

Implements VUSolid.

Definition at line 75 of file UTet.hh.

Here is the call graph for this function:

void UTet::ComputeBBox ( UBBox ,
bool   
)
inlinevirtual

Implements VUSolid.

Definition at line 70 of file UTet.hh.

const char* UTet::CVSFileVers ( )
inline

Definition at line 101 of file UTet.hh.

const char* UTet::CVSHeaderVers ( )
inline

Definition at line 97 of file UTet.hh.

double UTet::DistanceToIn ( const UVector3 aPoint,
const UVector3 aDirection,
double  aPstep = UUtils::kInfinity 
) const
virtual

Implements VUSolid.

Definition at line 322 of file UTet.cc.

Here is the call graph for this function:

double UTet::DistanceToOut ( const UVector3 aPoint,
const UVector3 aDirection,
UVector3 aNormalVector,
bool &  aConvex,
double  aPstep = UUtils::kInfinity 
) const
virtual

Implements VUSolid.

Definition at line 422 of file UTet.cc.

Here is the call graph for this function:

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

Implements VUSolid.

Definition at line 615 of file UTet.cc.

UGeometryType UTet::GetEntityType ( ) const
virtual

Implements VUSolid.

Definition at line 642 of file UTet.cc.

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

Implements VUSolid.

Definition at line 626 of file UTet.cc.

UVector3 UTet::GetPointOnSurface ( ) const
virtual

Implements VUSolid.

Definition at line 574 of file UTet.cc.

Here is the call graph for this function:

std::vector< UVector3 > UTet::GetVertices ( ) const

Definition at line 604 of file UTet.cc.

Here is the caller graph for this function:

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

Implements VUSolid.

Definition at line 217 of file UTet.cc.

Here is the call graph for this function:

bool UTet::Normal ( const UVector3 aPoint,
UVector3 aNormal 
) const
virtual

Implements VUSolid.

Definition at line 247 of file UTet.cc.

Here is the call graph for this function:

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

Definition at line 167 of file UTet.cc.

void UTet::PrintWarnings ( bool  flag)
inline

Definition at line 105 of file UTet.hh.

double UTet::SafetyFromInside ( const UVector3 aPoint,
bool  aAccurate = false 
) const
virtual

Implements VUSolid.

Definition at line 505 of file UTet.cc.

Here is the call graph for this function:

double UTet::SafetyFromOutside ( const UVector3 aPoint,
bool  aAccurate = false 
) const
virtual

Implements VUSolid.

Definition at line 410 of file UTet.cc.

Here is the call graph for this function:

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

Implements VUSolid.

Definition at line 525 of file UTet.cc.

Here is the call graph for this function:

double UTet::SurfaceArea ( )
virtual

Implements VUSolid.

Definition at line 652 of file UTet.cc.


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