|
Geant4.10
|
#include <UBox.hh>
Public Member Functions | |
| UBox () | |
| UBox (const std::string &name, double dx, double dy, double dz) | |
| virtual | ~UBox () |
| UBox (const UBox &rhs) | |
| UBox & | operator= (const UBox &rhs) |
| void | Set (double dx, double dy, double dz) |
| void | Set (const UVector3 &vec) |
| double | GetXHalfLength () const |
| double | GetYHalfLength () const |
| double | GetZHalfLength () const |
| void | SetXHalfLength (double dx) |
| void | SetYHalfLength (double dy) |
| void | SetZHalfLength (double dz) |
| EnumInside | Inside (const UVector3 &aPoint) 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 |
| bool | Normal (const UVector3 &aPoint, UVector3 &aNormal) const |
| void | Extent (UVector3 &aMin, UVector3 &aMax) const |
| double | Capacity () |
| double | SurfaceArea () |
| VUSolid * | Clone () const |
| UGeometryType | GetEntityType () const |
| void | ComputeBBox (UBBox *, bool) |
| void | GetParametersList (int, double *aArray) const |
| UVector3 | GetPointOnSurface () const |
| std::ostream & | StreamInfo (std::ostream &os) 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 |
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 |
| UBox::UBox | ( | const std::string & | name, |
| double | dx, | ||
| double | dy, | ||
| double | dz | ||
| ) |
Definition at line 23 of file UBox.cc.
References UUtils::Exception(), FatalErrorInArguments, VUSolid::fgTolerance, and VUSolid::GetName().
|
inlinevirtual |
|
virtual |
|
virtual |
Implements VUSolid.
Definition at line 117 of file UBox.cc.
References VUSolid::fgTolerance, UVector3::x, UVector3::y, and UVector3::z.
Referenced by UVoxelizer::DistanceToFirst(), UVCSGfaceted::DistanceToIn(), and UPolycone::DistanceToIn().
|
virtual |
Implements VUSolid.
Definition at line 218 of file UBox.cc.
References VUSolid::fgTolerance, UVector3::Set(), UUtils::Sign(), UVector3::x, UVector3::y, and UVector3::z.
Implements VUSolid.
Definition at line 400 of file UBox.cc.
References UVector3::x, UVector3::y, and UVector3::z.
|
virtual |
Implements VUSolid.
Definition at line 91 of file UBox.hh.
References GetXHalfLength(), GetYHalfLength(), and GetZHalfLength().
|
virtual |
Implements VUSolid.
Definition at line 418 of file UBox.cc.
References UUtils::Random().
|
inline |
Definition at line 113 of file UBox.hh.
Referenced by GetParametersList(), and G4UBox::GetXHalfLength().
|
inline |
Definition at line 117 of file UBox.hh.
Referenced by GetParametersList(), and G4UBox::GetYHalfLength().
|
inline |
Definition at line 121 of file UBox.hh.
Referenced by UPolycone::DistanceToIn(), GetParametersList(), G4UBox::GetZHalfLength(), UVCSGfaceted::InitVoxels(), and UPolycone::Inside().
|
virtual |
Implements VUSolid.
Definition at line 97 of file UBox.cc.
References VUSolid::eInside, VUSolid::eOutside, VUSolid::eSurface, VUSolid::fgTolerance, UVector3::x, UVector3::y, and UVector3::z.
Referenced by UPolycone::Inside().
Implements VUSolid.
Definition at line 331 of file UBox.cc.
References VUSolid::fgTolerance, UVector3::Set(), UUtils::Sign(), UVector3::x, UVector3::y, and UVector3::z.
|
virtual |
Implements VUSolid.
Definition at line 279 of file UBox.cc.
References G4INCL::Math::max(), UVector3::x, UVector3::y, and UVector3::z.
|
virtual |
Implements VUSolid.
Definition at line 295 of file UBox.cc.
References UVector3::x, UVector3::y, and UVector3::z.
Referenced by UVCSGfaceted::SafetyFromOutside().
| void UBox::Set | ( | double | dx, |
| double | dy, | ||
| double | dz | ||
| ) |
Definition at line 43 of file UBox.cc.
Referenced by UPolycone::Init(), and UVCSGfaceted::InitVoxels().
| void UBox::SetXHalfLength | ( | double | dx | ) |
Definition at line 488 of file UBox.cc.
References UUtils::Exception(), FatalErrorInArguments, VUSolid::fgTolerance, and VUSolid::GetName().
Referenced by G4UBox::SetXHalfLength().
| void UBox::SetYHalfLength | ( | double | dy | ) |
Definition at line 508 of file UBox.cc.
References UUtils::Exception(), FatalErrorInArguments, VUSolid::fgTolerance, and VUSolid::GetName().
Referenced by G4UBox::SetYHalfLength().
| void UBox::SetZHalfLength | ( | double | dz | ) |
Definition at line 528 of file UBox.cc.
References UUtils::Exception(), FatalErrorInArguments, VUSolid::fgTolerance, and VUSolid::GetName().
Referenced by G4UBox::SetZHalfLength().
|
virtual |
|
inlinevirtual |
1.8.7