Geant4_10
Public Member Functions | List of all members
G4UPolyhedra Class Reference

#include <G4UPolyhedra.hh>

Inheritance diagram for G4UPolyhedra:
Inheritance graph
[legend]
Collaboration diagram for G4UPolyhedra:
Collaboration graph
[legend]

Public Member Functions

 G4UPolyhedra (const G4String &name, G4double phiStart, G4double phiTotal, G4int numSide, G4int numZPlanes, const G4double zPlane[], const G4double rInner[], const G4double rOuter[])
 
 G4UPolyhedra (const G4String &name, G4double phiStart, G4double phiTotal, G4int numSide, G4int numRZ, const G4double r[], const G4double z[])
 
 ~G4UPolyhedra ()
 
void ComputeDimensions (G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
 
UPolyhedraGetShape () const
 
G4int GetNumSide () const
 
G4double GetStartPhi () const
 
G4double GetEndPhi () const
 
G4bool IsOpen () const
 
G4bool IsGeneric () const
 
G4int GetNumRZCorner () const
 
G4PolyhedraSideRZ GetCorner (const G4int index) const
 
G4PolyhedraHistoricalGetOriginalParameters () const
 
void SetOriginalParameters (G4PolyhedraHistorical *pars)
 
G4bool Reset ()
 
 G4UPolyhedra (__void__ &)
 
 G4UPolyhedra (const G4UPolyhedra &source)
 
G4UPolyhedraoperator= (const G4UPolyhedra &source)
 
G4PolyhedronCreatePolyhedron () const
 
- Public Member Functions inherited from G4USolid
 G4USolid (const G4String &pName, VUSolid *shape)
 
virtual ~G4USolid ()
 
G4bool operator== (const G4USolid &s) const
 
virtual G4bool CalculateExtent (const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pMin, G4double &pMax) const
 
virtual EInside Inside (const G4ThreeVector &p) const
 
virtual G4ThreeVector SurfaceNormal (const G4ThreeVector &p) const
 
virtual G4double DistanceToIn (const G4ThreeVector &p, const G4ThreeVector &v) const
 
virtual G4double DistanceToIn (const G4ThreeVector &p) const
 
virtual G4double DistanceToOut (const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=0, G4ThreeVector *n=0) const
 
virtual G4double DistanceToOut (const G4ThreeVector &p) const
 
virtual G4double GetCubicVolume ()
 
virtual G4double GetSurfaceArea ()
 
virtual G4GeometryType GetEntityType () const
 
virtual G4ThreeVector GetPointOnSurface () const
 
virtual G4VSolidClone () const
 
virtual std::ostream & StreamInfo (std::ostream &os) const
 
virtual void DescribeYourselfTo (G4VGraphicsScene &scene) const
 
virtual G4VisExtent GetExtent () const
 
G4PolyhedronCreatePolyhedron () const
 
virtual G4PolyhedronGetPolyhedron () const
 
virtual void ResetPolyhedron () const
 
 G4USolid (__void__ &)
 
 G4USolid (const G4USolid &rhs)
 
G4USolidoperator= (const G4USolid &rhs)
 
VUSolidGetSolid () 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)
 

Additional Inherited Members

- Protected Member Functions inherited from G4USolid
G4ThreeVectorListCreateRotatedVertices (const G4AffineTransform &pT) 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
 
- Protected Attributes inherited from G4USolid
VUSolidfShape
 
- Protected Attributes inherited from G4VSolid
G4double kCarTolerance
 

Detailed Description

Definition at line 54 of file G4UPolyhedra.hh.

Constructor & Destructor Documentation

G4UPolyhedra::G4UPolyhedra ( const G4String name,
G4double  phiStart,
G4double  phiTotal,
G4int  numSide,
G4int  numZPlanes,
const G4double  zPlane[],
const G4double  rInner[],
const G4double  rOuter[] 
)

Definition at line 45 of file G4UPolyhedra.cc.

G4UPolyhedra::G4UPolyhedra ( const G4String name,
G4double  phiStart,
G4double  phiTotal,
G4int  numSide,
G4int  numRZ,
const G4double  r[],
const G4double  z[] 
)

Definition at line 63 of file G4UPolyhedra.cc.

G4UPolyhedra::~G4UPolyhedra ( )

Definition at line 91 of file G4UPolyhedra.cc.

G4UPolyhedra::G4UPolyhedra ( __void__ &  a)

Definition at line 81 of file G4UPolyhedra.cc.

G4UPolyhedra::G4UPolyhedra ( const G4UPolyhedra source)

Definition at line 100 of file G4UPolyhedra.cc.

Member Function Documentation

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

Reimplemented from G4VSolid.

Definition at line 125 of file G4UPolyhedra.cc.

Here is the call graph for this function:

G4Polyhedron * G4UPolyhedra::CreatePolyhedron ( ) const
virtual

Creates user defined polyhedron. This function allows to the user to define arbitrary polyhedron. The faces of the polyhedron should be either triangles or planar quadrilateral. Nodes of a face are defined by indexes pointing to the elements in the xyz array. Numeration of the elements in the array starts from 1 (like in fortran). The indexes can be positive or negative. Negative sign means that the corresponding edge is invisible. The normal of the face should be directed to exterior of the polyhedron.

Parameters
Nnodesnumber of nodes
Nfacesnumber of faces
xyznodes
faces_vecfaces (quadrilaterals or triangles)
Returns
status of the operation - is non-zero in case of problem

Reimplemented from G4VSolid.

Definition at line 137 of file G4UPolyhedra.cc.

Here is the call graph for this function:

G4PolyhedraSideRZ G4UPolyhedra::GetCorner ( const G4int  index) const
inline

Definition at line 141 of file G4UPolyhedra.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

G4double G4UPolyhedra::GetEndPhi ( ) const
inline

Definition at line 125 of file G4UPolyhedra.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

G4int G4UPolyhedra::GetNumRZCorner ( ) const
inline

Definition at line 137 of file G4UPolyhedra.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

G4int G4UPolyhedra::GetNumSide ( ) const
inline

Definition at line 117 of file G4UPolyhedra.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

G4PolyhedraHistorical * G4UPolyhedra::GetOriginalParameters ( ) const
inline

Definition at line 148 of file G4UPolyhedra.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

UPolyhedra * G4UPolyhedra::GetShape ( ) const
inline

Definition at line 112 of file G4UPolyhedra.hh.

Here is the caller graph for this function:

G4double G4UPolyhedra::GetStartPhi ( ) const
inline

Definition at line 121 of file G4UPolyhedra.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

G4bool G4UPolyhedra::IsGeneric ( ) const
inline

Definition at line 133 of file G4UPolyhedra.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

G4bool G4UPolyhedra::IsOpen ( ) const
inline

Definition at line 129 of file G4UPolyhedra.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

G4UPolyhedra & G4UPolyhedra::operator= ( const G4UPolyhedra source)

Definition at line 110 of file G4UPolyhedra.cc.

Here is the call graph for this function:

G4bool G4UPolyhedra::Reset ( )
inline

Definition at line 178 of file G4UPolyhedra.hh.

Here is the call graph for this function:

void G4UPolyhedra::SetOriginalParameters ( G4PolyhedraHistorical pars)
inline

Definition at line 163 of file G4UPolyhedra.hh.

Here is the call graph for this function:


The documentation for this class was generated from the following files: