|
Geant4.10
|
#include <UTet.hh>
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 |
| VUSolid * | Clone () const |
| UVector3 | GetPointOnSurface () const |
| std::ostream & | StreamInfo (std::ostream &os) const |
| UTet (const UTet &rhs) | |
| UTet & | operator= (const UTet &rhs) |
| const char * | CVSHeaderVers () |
| const char * | CVSFileVers () |
| void | PrintWarnings (bool flag) |
| std::vector< UVector3 > | GetVertices () 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 |
| 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.
References UVector3::Cross(), UVector3::Dot(), UUtils::Exception(), FatalErrorInArguments, UVector3::Mag(), G4INCL::Math::max(), G4INCL::Math::min(), UVector3::Unit(), UVector3::x, UVector3::y, and UVector3::z.
Referenced by Clone().
|
virtual |
|
static |
|
virtual |
Implements VUSolid.
Definition at line 642 of file UTet.cc.
References UTet().
|
inline |
|
inline |
|
virtual |
Implements VUSolid.
Definition at line 322 of file UTet.cc.
References UVector3::Dot(), G4INCL::Math::max(), and UVector3::Unit().
|
virtual |
Implements VUSolid.
Definition at line 422 of file UTet.cc.
References UVector3::Dot(), UUtils::Exception(), G4INCL::Math::max(), G4INCL::Math::min(), plottest35::t1, UVector3::Unit(), and Warning.
Implements VUSolid.
Definition at line 615 of file UTet.cc.
References UVector3::x, UVector3::y, and UVector3::z.
|
virtual |
Implements VUSolid.
Definition at line 626 of file UTet.cc.
References UVector3::x, UVector3::y, and UVector3::z.
|
virtual |
Implements VUSolid.
Definition at line 574 of file UTet.cc.
References UUtils::Random().
| std::vector< UVector3 > UTet::GetVertices | ( | ) | const |
Definition at line 604 of file UTet.cc.
Referenced by G4UTet::GetVertices().
|
virtual |
Implements VUSolid.
Definition at line 217 of file UTet.cc.
References UVector3::Dot(), VUSolid::eInside, VUSolid::eOutside, and VUSolid::eSurface.
Implements VUSolid.
Definition at line 247 of file UTet.cc.
References UVector3::Dot(), and UVector3::Unit().
|
inline |
|
virtual |
Implements VUSolid.
Definition at line 505 of file UTet.cc.
References UVector3::Dot(), G4INCL::Math::min(), and plottest35::t1.
|
virtual |
Implements VUSolid.
Definition at line 410 of file UTet.cc.
References G4INCL::Math::max().
|
virtual |
|
virtual |
1.8.7