Geant4
10.01.p02
|
#include <G4Tet.hh>
Static Public Member Functions | |
static G4bool | CheckDegeneracy (G4ThreeVector anchor, G4ThreeVector p2, G4ThreeVector p3, G4ThreeVector p4) |
Protected Member Functions | |
G4ThreeVectorList * | CreateRotatedVertices (const G4AffineTransform &pTransform) const |
Protected Member Functions inherited from G4VSolid | |
void | CalculateClippedPolygonExtent (G4ThreeVectorList &pPolygon, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const |
void | ClipCrossSection (G4ThreeVectorList *pVertices, const G4int pSectionIndex, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const |
void | ClipBetweenSections (G4ThreeVectorList *pVertices, const G4int pSectionIndex, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const |
void | ClipPolygon (G4ThreeVectorList &pPolygon, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis) const |
G4double | EstimateCubicVolume (G4int nStat, G4double epsilon) const |
G4double | EstimateSurfaceArea (G4int nStat, G4double ell) const |
Private Member Functions | |
G4ThreeVector | GetPointOnFace (G4ThreeVector p1, G4ThreeVector p2, G4ThreeVector p3, G4double &area) const |
Static Private Attributes | |
static const char | CVSVers [] ="$Id: G4Tet.cc 83572 2014-09-01 15:23:27Z gcosmo $" |
Additional Inherited Members | |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
G4Tet::G4Tet | ( | const G4String & | pName, |
G4ThreeVector | anchor, | ||
G4ThreeVector | p2, | ||
G4ThreeVector | p3, | ||
G4ThreeVector | p4, | ||
G4bool * | degeneracyFlag = 0 |
||
) |
Definition at line 96 of file G4Tet.cc.
References fAnchor, FatalException, fCdotN123, fCdotN134, fCdotN142, fCdotN234, fCubicVolume, fDx, fDy, fDz, fMaxSize, fMiddle, fNormal123, fNormal134, fNormal142, fNormal234, fP2, fP3, fP4, fSurfaceArea, fTol, fXMax, fXMin, fYMax, fYMin, fZMax, fZMin, G4Exception(), G4INCL::Math::max(), G4INCL::Math::min(), and p2.
Referenced by CheckDegeneracy(), and Clone().
|
virtual |
Definition at line 212 of file G4Tet.cc.
References fpPolyhedron.
|
virtual |
Implements G4VSolid.
Definition at line 301 of file G4Tet.cc.
References fAnchor, fP2, fP3, fP4, fTol, fXMax, fXMin, fYMax, fYMin, fZMax, fZMin, G4VoxelLimits::GetMaxXExtent(), G4VoxelLimits::GetMaxYExtent(), G4VoxelLimits::GetMaxZExtent(), G4VoxelLimits::GetMinXExtent(), G4VoxelLimits::GetMinYExtent(), G4VoxelLimits::GetMinZExtent(), G4AffineTransform::IsRotated(), G4VoxelLimits::IsXLimited(), G4VoxelLimits::IsYLimited(), G4VoxelLimits::IsZLimited(), kXAxis, kYAxis, kZAxis, G4INCL::Math::max(), G4INCL::Math::min(), G4AffineTransform::NetTranslation(), and G4AffineTransform::TransformPoint().
|
static |
|
virtual |
|
virtual |
|
virtual |
|
protected |
Definition at line 670 of file G4Tet.cc.
References G4VSolid::DumpInfo(), fAnchor, FatalException, fP2, fP3, fP4, G4Exception(), and G4AffineTransform::TransformPoint().
|
inline |
|
virtual |
Implements G4VSolid.
Definition at line 825 of file G4Tet.cc.
References G4VGraphicsScene::AddSolid().
|
virtual |
Implements G4VSolid.
Definition at line 487 of file G4Tet.cc.
References fCdotN123, fCdotN134, fCdotN142, fCdotN234, fNormal123, fNormal134, fNormal142, fNormal234, fTol, kInfinity, and G4INCL::Math::max().
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 580 of file G4Tet.cc.
References G4VSolid::DumpInfo(), fCdotN123, fCdotN134, fCdotN142, fCdotN234, fNormal123, fNormal134, fNormal142, fNormal234, fTol, G4endl, G4Exception(), JustWarning, kInfinity, G4INCL::Math::max(), G4INCL::Math::min(), mm, CLHEP::normal(), and warningFlag.
|
virtual |
Implements G4VSolid.
Definition at line 649 of file G4Tet.cc.
References fCdotN123, fCdotN134, fCdotN142, fCdotN234, fNormal123, fNormal134, fNormal142, fNormal234, fTol, and G4INCL::Math::min().
|
virtual |
|
virtual |
|
virtual |
|
private |
Definition at line 748 of file G4Tet.cc.
References p1, p2, and G4INCL::DeJongSpin::shoot().
Referenced by GetPointOnSurface().
|
virtual |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 862 of file G4Tet.cc.
References CreatePolyhedron(), fpPolyhedron, fRebuildPolyhedron, G4Polyhedron::GetNumberOfRotationStepsAtTimeOfCreation(), and G4TemplateAutoLock< M, L, U >::unlock().
|
virtual |
std::vector< G4ThreeVector > G4Tet::GetVertices | ( | ) | const |
|
virtual |
Implements G4VSolid.
Definition at line 396 of file G4Tet.cc.
References fCdotN123, fCdotN134, fCdotN142, fCdotN234, fNormal123, fNormal134, fNormal142, fNormal234, fTol, kInside, kOutside, and kSurface.
Definition at line 242 of file G4Tet.cc.
References fAnchor, fCdotN123, fCdotN134, fCdotN142, fCdotN234, fCubicVolume, fDx, fDy, fDz, fMaxSize, fMiddle, fNormal123, fNormal134, fNormal142, fNormal234, fP2, fP3, fP4, fpPolyhedron, fRebuildPolyhedron, fSurfaceArea, fTol, fXMax, fXMin, fYMax, fYMin, fZMax, fZMin, G4VSolid::operator=(), and warningFlag.
|
inline |
Definition at line 136 of file G4Tet.hh.
References warningFlag.
|
virtual |
Implements G4VSolid.
Definition at line 719 of file G4Tet.cc.
References fAnchor, fNormal123, fNormal134, fNormal142, fNormal234, fP2, fP3, fP4, G4VSolid::GetName(), and mm.
|
virtual |
Implements G4VSolid.
Definition at line 427 of file G4Tet.cc.
References fCdotN123, fCdotN134, fCdotN142, fCdotN234, fNormal123, fNormal134, fNormal142, fNormal234, and G4VSolid::kCarTolerance.
|
staticprivate |
Definition at line 161 of file G4Tet.hh.
Referenced by CVSFileVers().
|
private |
Definition at line 165 of file G4Tet.hh.
Referenced by CalculateExtent(), CreatePolyhedron(), CreateRotatedVertices(), G4Tet(), GetPointOnSurface(), GetVertices(), operator=(), and StreamInfo().
|
private |
Definition at line 170 of file G4Tet.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Tet(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 170 of file G4Tet.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Tet(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 170 of file G4Tet.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Tet(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 170 of file G4Tet.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Tet(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 154 of file G4Tet.hh.
Referenced by G4Tet(), GetCubicVolume(), and operator=().
|
private |
Definition at line 172 of file G4Tet.hh.
Referenced by G4Tet(), and operator=().
|
private |
Definition at line 172 of file G4Tet.hh.
Referenced by G4Tet(), and operator=().
|
private |
Definition at line 172 of file G4Tet.hh.
Referenced by G4Tet(), and operator=().
|
private |
Definition at line 172 of file G4Tet.hh.
Referenced by DistanceToIn(), G4Tet(), and operator=().
|
private |
Definition at line 165 of file G4Tet.hh.
Referenced by DistanceToIn(), G4Tet(), and operator=().
|
private |
Definition at line 166 of file G4Tet.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Tet(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 166 of file G4Tet.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Tet(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 166 of file G4Tet.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Tet(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 166 of file G4Tet.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Tet(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 165 of file G4Tet.hh.
Referenced by CalculateExtent(), CreatePolyhedron(), CreateRotatedVertices(), G4Tet(), GetPointOnSurface(), GetVertices(), operator=(), and StreamInfo().
|
private |
Definition at line 165 of file G4Tet.hh.
Referenced by CalculateExtent(), CreatePolyhedron(), CreateRotatedVertices(), G4Tet(), GetPointOnSurface(), GetVertices(), operator=(), and StreamInfo().
|
private |
Definition at line 165 of file G4Tet.hh.
Referenced by CalculateExtent(), CreatePolyhedron(), CreateRotatedVertices(), G4Tet(), GetPointOnSurface(), GetVertices(), operator=(), and StreamInfo().
|
mutableprivate |
Definition at line 157 of file G4Tet.hh.
Referenced by GetPolyhedron(), operator=(), and ~G4Tet().
|
mutableprivate |
Definition at line 156 of file G4Tet.hh.
Referenced by GetPolyhedron(), and operator=().
|
private |
Definition at line 154 of file G4Tet.hh.
Referenced by G4Tet(), GetSurfaceArea(), and operator=().
|
private |
Definition at line 172 of file G4Tet.hh.
Referenced by CalculateExtent(), DistanceToIn(), DistanceToOut(), G4Tet(), Inside(), and operator=().
|
private |
Definition at line 171 of file G4Tet.hh.
Referenced by CalculateExtent(), G4Tet(), GetExtent(), and operator=().
|
private |
Definition at line 171 of file G4Tet.hh.
Referenced by CalculateExtent(), G4Tet(), GetExtent(), and operator=().
|
private |
Definition at line 171 of file G4Tet.hh.
Referenced by CalculateExtent(), G4Tet(), GetExtent(), and operator=().
|
private |
Definition at line 171 of file G4Tet.hh.
Referenced by CalculateExtent(), G4Tet(), GetExtent(), and operator=().
|
private |
Definition at line 171 of file G4Tet.hh.
Referenced by CalculateExtent(), G4Tet(), GetExtent(), and operator=().
|
private |
Definition at line 171 of file G4Tet.hh.
Referenced by CalculateExtent(), G4Tet(), GetExtent(), and operator=().
|
private |
Definition at line 168 of file G4Tet.hh.
Referenced by DistanceToOut(), operator=(), and PrintWarnings().