37 bool* degeneracyFlag = 0);
49 bool aAccurate =
false)
const;
51 bool aAccurate =
false)
const;
55 double aPstep = UUtils::kInfinity)
const;
61 double aPstep = UUtils::kInfinity)
const;
84 std::ostream&
StreamInfo(std::ostream& os)
const;
99 return "$Id: G4Tet.hh 66356 2012-12-18 09:02:32Z gcosmo $";
125 double fCubicVolume, fSurfaceArea;
129 static const char CVSVers[];
133 UVector3 fAnchor, fP2, fP3, fP4, fMiddle;
134 UVector3 fNormal123, fNormal142, fNormal134, fNormal234;
138 double fCdotN123, fCdotN142, fCdotN134, fCdotN234;
139 double fXMin, fXMax, fYMin, fYMax, fZMin, fZMax;
140 double fDx, fDy, fDz, fTol, fMaxSize;
static bool CheckDegeneracy(UVector3 &anchor, UVector3 &p2, UVector3 &p3, UVector3 &p4)
UVector3 GetPointOnSurface() const
const std::string & GetName() const
void ComputeBBox(UBBox *, bool)
UGeometryType GetEntityType() const
double DistanceToIn(const UVector3 &aPoint, const UVector3 &aDirection, double aPstep=UUtils::kInfinity) const
void Extent(UVector3 &aMin, UVector3 &aMax) const
bool Normal(const UVector3 &aPoint, UVector3 &aNormal) const
double SafetyFromOutside(const UVector3 &aPoint, bool aAccurate=false) const
std::ostream & StreamInfo(std::ostream &os) const
double DistanceToOut(const UVector3 &aPoint, const UVector3 &aDirection, UVector3 &aNormalVector, bool &aConvex, double aPstep=UUtils::kInfinity) const
UTet & operator=(const UTet &rhs)
double SafetyFromInside(const UVector3 &aPoint, bool aAccurate=false) const
void GetParametersList(int aNumber, double *aArray) const
std::vector< UVector3 > GetVertices() const
const char * CVSFileVers()
const char * CVSHeaderVers()
void PrintWarnings(bool flag)
std::string UGeometryType
UTet(const std::string &name, UVector3 anchor, UVector3 p2, UVector3 p3, UVector3 p4, bool *degeneracyFlag=0)
EnumInside Inside(const UVector3 &p) const