Geant4  10.00.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
G4Tet Class Reference
Inheritance diagram for G4Tet:
G4VSolid

Public Member Functions

 G4Tet (const G4String &pName, G4ThreeVector anchor, G4ThreeVector p2, G4ThreeVector p3, G4ThreeVector p4, G4bool *degeneracyFlag=0)
 
virtual ~G4Tet ()
 
void ComputeDimensions (G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
 
G4bool CalculateExtent (const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pmin, G4double &pmax) const
 
EInside Inside (const G4ThreeVector &p) const
 
G4ThreeVector SurfaceNormal (const G4ThreeVector &p) const
 
G4double DistanceToIn (const G4ThreeVector &p, const G4ThreeVector &v) const
 
G4double DistanceToIn (const G4ThreeVector &p) const
 
G4double DistanceToOut (const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=0, G4ThreeVector *n=0) const
 
G4double DistanceToOut (const G4ThreeVector &p) const
 
G4double GetCubicVolume ()
 
G4double GetSurfaceArea ()
 
G4GeometryType GetEntityType () const
 
G4VSolidClone () const
 
std::ostream & StreamInfo (std::ostream &os) const
 
G4ThreeVector GetPointOnSurface () const
 
void DescribeYourselfTo (G4VGraphicsScene &scene) const
 
G4VisExtent GetExtent () const
 
G4PolyhedronCreatePolyhedron () const
 
G4PolyhedronGetPolyhedron () const
 
 G4Tet (__void__ &)
 
 G4Tet (const G4Tet &rhs)
 
G4Tetoperator= (const G4Tet &rhs)
 
const char * CVSHeaderVers ()
 
const char * CVSFileVers ()
 
void PrintWarnings (G4bool flag)
 
std::vector< G4ThreeVectorGetVertices () const
 
- Public Member Functions inherited from G4VSolid
 G4VSolid (const G4String &name)
 
virtual ~G4VSolid ()
 
G4bool operator== (const G4VSolid &s) const
 
G4String GetName () const
 
void SetName (const G4String &name)
 
G4double GetTolerance () const
 
void DumpInfo () const
 
virtual const G4VSolidGetConstituentSolid (G4int no) const
 
virtual G4VSolidGetConstituentSolid (G4int no)
 
virtual const G4DisplacedSolidGetDisplacedSolidPtr () const
 
virtual G4DisplacedSolidGetDisplacedSolidPtr ()
 
 G4VSolid (__void__ &)
 
 G4VSolid (const G4VSolid &rhs)
 
G4VSolidoperator= (const G4VSolid &rhs)
 

Static Public Member Functions

static G4bool CheckDegeneracy (G4ThreeVector anchor, G4ThreeVector p2, G4ThreeVector p3, G4ThreeVector p4)
 

Protected Member Functions

G4ThreeVectorListCreateRotatedVertices (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
 

Private Attributes

G4double fCubicVolume
 
G4double fSurfaceArea
 
G4PolyhedronfpPolyhedron
 
G4ThreeVector fAnchor
 
G4ThreeVector fP2
 
G4ThreeVector fP3
 
G4ThreeVector fP4
 
G4ThreeVector fMiddle
 
G4ThreeVector fNormal123
 
G4ThreeVector fNormal142
 
G4ThreeVector fNormal134
 
G4ThreeVector fNormal234
 
G4bool warningFlag
 
G4double fCdotN123
 
G4double fCdotN142
 
G4double fCdotN134
 
G4double fCdotN234
 
G4double fXMin
 
G4double fXMax
 
G4double fYMin
 
G4double fYMax
 
G4double fZMin
 
G4double fZMax
 
G4double fDx
 
G4double fDy
 
G4double fDz
 
G4double fTol
 
G4double fMaxSize
 

Static Private Attributes

static const char CVSVers []
 

Additional Inherited Members

- Protected Attributes inherited from G4VSolid
G4double kCarTolerance
 

Constructor & Destructor Documentation

G4Tet ( const G4String pName,
G4ThreeVector  anchor,
G4ThreeVector  p2,
G4ThreeVector  p3,
G4ThreeVector  p4,
G4bool degeneracyFlag = 0 
)
virtual ~G4Tet ( )
virtual
G4Tet ( __void__ &  )
G4Tet ( const G4Tet rhs)

Member Function Documentation

void ComputeDimensions ( G4VPVParameterisation p,
const G4int  n,
const G4VPhysicalVolume pRep 
)
virtual

Reimplemented from G4VSolid.

G4bool CalculateExtent ( const EAxis  pAxis,
const G4VoxelLimits pVoxelLimit,
const G4AffineTransform pTransform,
G4double pmin,
G4double pmax 
) const
virtual

Implements G4VSolid.

EInside Inside ( const G4ThreeVector p) const
virtual

Implements G4VSolid.

G4ThreeVector SurfaceNormal ( const G4ThreeVector p) const
virtual

Implements G4VSolid.

G4double DistanceToIn ( const G4ThreeVector p,
const G4ThreeVector v 
) const
virtual

Implements G4VSolid.

G4double DistanceToIn ( const G4ThreeVector p) const
virtual

Implements G4VSolid.

G4double DistanceToOut ( const G4ThreeVector p,
const G4ThreeVector v,
const G4bool  calcNorm = false,
G4bool validNorm = 0,
G4ThreeVector n = 0 
) const
virtual

Implements G4VSolid.

G4double DistanceToOut ( const G4ThreeVector p) const
virtual

Implements G4VSolid.

G4double GetCubicVolume ( )
virtual

Reimplemented from G4VSolid.

G4double GetSurfaceArea ( )
virtual

Reimplemented from G4VSolid.

G4GeometryType GetEntityType ( ) const
virtual

Implements G4VSolid.

G4VSolid* Clone ( ) const
virtual

Reimplemented from G4VSolid.

std::ostream& StreamInfo ( std::ostream &  os) const
virtual

Implements G4VSolid.

G4ThreeVector GetPointOnSurface ( ) const
virtual

Reimplemented from G4VSolid.

void DescribeYourselfTo ( G4VGraphicsScene scene) const
virtual

Implements G4VSolid.

G4VisExtent GetExtent ( ) const
virtual

Reimplemented from G4VSolid.

G4Polyhedron* CreatePolyhedron ( ) const
virtual

Reimplemented from G4VSolid.

G4Polyhedron* GetPolyhedron ( ) const
virtual

Reimplemented from G4VSolid.

G4Tet& operator= ( const G4Tet rhs)
const char* CVSHeaderVers ( )
const char* CVSFileVers ( )

References CVSVers.

void PrintWarnings ( G4bool  flag)

References warningFlag.

static G4bool CheckDegeneracy ( G4ThreeVector  anchor,
G4ThreeVector  p2,
G4ThreeVector  p3,
G4ThreeVector  p4 
)
static
std::vector<G4ThreeVector> GetVertices ( ) const
G4ThreeVectorList* CreateRotatedVertices ( const G4AffineTransform pTransform) const
protected
G4ThreeVector GetPointOnFace ( G4ThreeVector  p1,
G4ThreeVector  p2,
G4ThreeVector  p3,
G4double area 
) const
private

Member Data Documentation

G4double fCubicVolume
private
G4double fSurfaceArea
private
G4Polyhedron* fpPolyhedron
mutableprivate
const char CVSVers[]
staticprivate

Referenced by CVSFileVers().

G4ThreeVector fAnchor
private
G4ThreeVector fP2
private
G4ThreeVector fP3
private
G4ThreeVector fP4
private
G4ThreeVector fMiddle
private
G4ThreeVector fNormal123
private
G4ThreeVector fNormal142
private
G4ThreeVector fNormal134
private
G4ThreeVector fNormal234
private
G4bool warningFlag
private

Referenced by PrintWarnings().

G4double fCdotN123
private
G4double fCdotN142
private
G4double fCdotN134
private
G4double fCdotN234
private
G4double fXMin
private
G4double fXMax
private
G4double fYMin
private
G4double fYMax
private
G4double fZMin
private
G4double fZMax
private
G4double fDx
private
G4double fDy
private
G4double fDz
private
G4double fTol
private
G4double fMaxSize
private