Geant4_10
|
#include <UPolycone.hh>
Classes | |
struct | UPolyconeSection |
Public Member Functions | |
void | Init (double phiStart, double phiTotal, int numZPlanes, const double zPlane[], const double rInner[], const double rOuter[]) |
UPolycone (const std::string &name) | |
UPolycone (const std::string &name, double phiStart, double phiTotal, int numZPlanes, const double zPlane[], const double rInner[], const double rOuter[]) | |
UPolycone (const std::string &name, double phiStart, double phiTotal, int numRZ, const double r[], const double z[]) | |
virtual | ~UPolycone () |
void | Reset () |
std::ostream & | StreamInfo (std::ostream &os) const |
VUSolid::EnumInside | Inside (const UVector3 &p) const |
double | DistanceToIn (const UVector3 &p, const UVector3 &v, double aPstep=UUtils::kInfinity) const |
double | SafetyFromInside (const UVector3 &aPoint, bool aAccurate=false) const |
double | SafetyFromOutside (const UVector3 &aPoint, bool aAccurate=false) 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 () |
UGeometryType | GetEntityType () const |
void | ComputeBBox (UBBox *, bool) |
void | GetParametersList (int, double *) const |
VUSolid * | Clone () const |
UPolycone (const UPolycone &source) | |
UPolycone & | operator= (const UPolycone &source) |
void | CopyStuff (const UPolycone &source) |
UVector3 | GetPointOnSurface () const |
UVector3 | GetPointOnCone (double fRmin1, double fRmax1, double fRmin2, double fRmax2, double zOne, double zTwo, double &totArea) const |
UVector3 | GetPointOnTubs (double fRMin, double fRMax, double zOne, double zTwo, double &totArea) const |
UVector3 | GetPointOnCut (double fRMin1, double fRMax1, double fRMin2, double fRMax2, double zOne, double zTwo, double &totArea) const |
UVector3 | GetPointOnRing (double fRMin, double fRMax, double fRMin2, double fRMax2, double zOne) const |
double | GetStartPhi () const |
double | GetEndPhi () const |
bool | IsOpen () const |
bool | IsGeneric () const |
int | GetNumRZCorner () const |
UPolyconeSideRZ | GetCorner (int index) const |
UPolyconeHistorical * | GetOriginalParameters () const |
void | SetOriginalParameters (UPolyconeHistorical *pars) |
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 |
Protected Member Functions | |
bool | SetOriginalParameters (UReduciblePolygon *rz) |
void | SetOriginalParameters () |
VUSolid::EnumInside | InsideSection (int index, const UVector3 &p) const |
double | SafetyFromInsideSection (int index, const UVector3 &p) const |
double | SafetyFromOutsideSection (int index, const UVector3 &p) const |
bool | NormalSection (int index, const UVector3 &p, UVector3 &n) const |
int | GetSection (double z) const |
Protected Attributes | |
double | startPhi |
double | endPhi |
bool | phiIsOpen |
int | numCorner |
UPolyconeSideRZ * | corners |
UPolyconeHistorical * | fOriginalParameters |
double | fCubicVolume |
double | fSurfaceArea |
UEnclosingCylinder * | enclosingCylinder |
std::vector< double > | fZs |
std::vector< UPolyconeSection > | fSections |
int | fMaxSection |
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 |
Definition at line 68 of file UPolycone.hh.
|
inline |
UPolycone::UPolycone | ( | const std::string & | name, |
double | phiStart, | ||
double | phiTotal, | ||
int | numZPlanes, | ||
const double | zPlane[], | ||
const double | rInner[], | ||
const double | rOuter[] | ||
) |
UPolycone::UPolycone | ( | const std::string & | name, |
double | phiStart, | ||
double | phiTotal, | ||
int | numRZ, | ||
const double | r[], | ||
const double | z[] | ||
) |
|
virtual |
Definition at line 324 of file UPolycone.cc.
UPolycone::UPolycone | ( | const UPolycone & | source | ) |
|
virtual |
Implements VUSolid.
Definition at line 760 of file UPolycone.cc.
|
virtual |
Implements VUSolid.
Definition at line 1218 of file UPolycone.cc.
Implements VUSolid.
Definition at line 134 of file UPolycone.hh.
|
virtual |
Implements VUSolid.
Definition at line 490 of file UPolycone.cc.
|
virtual |
Implements VUSolid.
Definition at line 532 of file UPolycone.cc.
Implements VUSolid.
Definition at line 753 of file UPolycone.cc.
|
inline |
|
inline |
|
virtual |
Implements VUSolid.
Definition at line 1274 of file UPolycone.cc.
|
inline |
|
inline |
Implements VUSolid.
Definition at line 137 of file UPolycone.hh.
UVector3 UPolycone::GetPointOnCone | ( | double | fRmin1, |
double | fRmax1, | ||
double | fRmin2, | ||
double | fRmax2, | ||
double | zOne, | ||
double | zTwo, | ||
double & | totArea | ||
) | const |
Definition at line 844 of file UPolycone.cc.
UVector3 UPolycone::GetPointOnCut | ( | double | fRMin1, |
double | fRMax1, | ||
double | fRMin2, | ||
double | fRMax2, | ||
double | zOne, | ||
double | zTwo, | ||
double & | totArea | ||
) | const |
Definition at line 1055 of file UPolycone.cc.
UVector3 UPolycone::GetPointOnRing | ( | double | fRMin, |
double | fRMax, | ||
double | fRMin2, | ||
double | fRMax2, | ||
double | zOne | ||
) | const |
Definition at line 1007 of file UPolycone.cc.
|
virtual |
Implements VUSolid.
Definition at line 1075 of file UPolycone.cc.
UVector3 UPolycone::GetPointOnTubs | ( | double | fRMin, |
double | fRMax, | ||
double | zOne, | ||
double | zTwo, | ||
double & | totArea | ||
) | const |
Definition at line 948 of file UPolycone.cc.
|
inlineprotected |
Definition at line 287 of file UPolycone.hh.
|
inline |
void UPolycone::Init | ( | double | phiStart, |
double | phiTotal, | ||
int | numZPlanes, | ||
const double | zPlane[], | ||
const double | rInner[], | ||
const double | rOuter[] | ||
) |
Definition at line 107 of file UPolycone.cc.
|
virtual |
Implements VUSolid.
Definition at line 441 of file UPolycone.cc.
|
inlineprotected |
Definition at line 373 of file UPolycone.cc.
|
inline |
Definition at line 181 of file UPolycone.hh.
|
inline |
Implements VUSolid.
Definition at line 668 of file UPolycone.cc.
Definition at line 279 of file UPolycone.hh.
void UPolycone::Reset | ( | ) |
Definition at line 1492 of file UPolycone.cc.
|
virtual |
Implements VUSolid.
Definition at line 606 of file UPolycone.cc.
Definition at line 263 of file UPolycone.hh.
|
virtual |
Implements VUSolid.
Definition at line 639 of file UPolycone.cc.
Definition at line 271 of file UPolycone.hh.
|
inline |
Definition at line 201 of file UPolycone.hh.
|
protected |
|
inlineprotected |
Definition at line 224 of file UPolycone.hh.
|
virtual |
Implements VUSolid.
Definition at line 335 of file UPolycone.cc.
|
virtual |
Implements VUSolid.
Definition at line 777 of file UPolycone.cc.
|
protected |
Definition at line 219 of file UPolycone.hh.
|
protected |
Definition at line 246 of file UPolycone.hh.
|
protected |
Definition at line 216 of file UPolycone.hh.
|
protected |
Definition at line 221 of file UPolycone.hh.
|
protected |
Definition at line 259 of file UPolycone.hh.
|
protected |
Definition at line 220 of file UPolycone.hh.
|
protected |
Definition at line 258 of file UPolycone.hh.
|
protected |
Definition at line 222 of file UPolycone.hh.
|
protected |
Definition at line 257 of file UPolycone.hh.
|
protected |
Definition at line 218 of file UPolycone.hh.
|
protected |
Definition at line 217 of file UPolycone.hh.
|
protected |
Definition at line 215 of file UPolycone.hh.