Geant4  10.00.p01
G4UGenericPolycone Class Reference

#include <G4UGenericPolycone.hh>

+ Inheritance diagram for G4UGenericPolycone:
+ Collaboration diagram for G4UGenericPolycone:

Public Member Functions

 G4UGenericPolycone (const G4String &name, G4double phiStart, G4double phiTotal, G4int numRZ, const G4double r[], const G4double z[])
 
 ~G4UGenericPolycone ()
 
UGenericPolyconeGetShape () const
 
G4double GetStartPhi () const
 
G4double GetEndPhi () const
 
G4bool IsOpen () const
 
G4int GetNumRZCorner () const
 
G4PolyconeSideRZ GetCorner (G4int index) const
 
 G4UGenericPolycone (__void__ &)
 
 G4UGenericPolycone (const G4UGenericPolycone &source)
 
G4UGenericPolyconeoperator= (const G4UGenericPolycone &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 void ComputeDimensions (G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
 
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
 
 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
 
G4PolyhedronfPolyhedron
 
- Protected Attributes inherited from G4VSolid
G4double kCarTolerance
 

Detailed Description

Definition at line 50 of file G4UGenericPolycone.hh.

Constructor & Destructor Documentation

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

Definition at line 43 of file G4UGenericPolycone.cc.

G4UGenericPolycone::~G4UGenericPolycone ( )

Definition at line 69 of file G4UGenericPolycone.cc.

G4UGenericPolycone::G4UGenericPolycone ( __void__ &  a)

Definition at line 59 of file G4UGenericPolycone.cc.

G4UGenericPolycone::G4UGenericPolycone ( const G4UGenericPolycone source)

Definition at line 78 of file G4UGenericPolycone.cc.

Member Function Documentation

G4Polyhedron * G4UGenericPolycone::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 98 of file G4UGenericPolycone.cc.

References a, A, ab, G4Exception(), GetCorner(), GetEndPhi(), G4VSolid::GetName(), GetNumRZCorner(), GetStartPhi(), IsOpen(), JustWarning, G4VSolid::kCarTolerance, G4PolyconeSideRZ::r, and G4PolyconeSideRZ::z.

+ Here is the call graph for this function:

G4PolyconeSideRZ G4UGenericPolycone::GetCorner ( G4int  index) const
inline

Definition at line 109 of file G4UGenericPolycone.hh.

References UGenericPolycone::GetCorner(), GetShape(), UPolyconeSideRZ::r, and UPolyconeSideRZ::z.

Referenced by CreatePolyhedron().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4UGenericPolycone::GetEndPhi ( ) const
inline

Definition at line 97 of file G4UGenericPolycone.hh.

References UGenericPolycone::GetEndPhi(), and GetShape().

Referenced by CreatePolyhedron().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4UGenericPolycone::GetNumRZCorner ( ) const
inline

Definition at line 105 of file G4UGenericPolycone.hh.

References UGenericPolycone::GetNumRZCorner(), and GetShape().

Referenced by CreatePolyhedron().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

UGenericPolycone * G4UGenericPolycone::GetShape ( ) const
inline

Definition at line 88 of file G4UGenericPolycone.hh.

References G4USolid::fShape.

Referenced by GetCorner(), GetEndPhi(), GetNumRZCorner(), GetStartPhi(), and IsOpen().

+ Here is the caller graph for this function:

G4double G4UGenericPolycone::GetStartPhi ( ) const
inline

Definition at line 93 of file G4UGenericPolycone.hh.

References GetShape(), and UGenericPolycone::GetStartPhi().

Referenced by CreatePolyhedron().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4UGenericPolycone::IsOpen ( ) const
inline

Definition at line 101 of file G4UGenericPolycone.hh.

References GetShape(), and UGenericPolycone::IsOpen().

Referenced by CreatePolyhedron().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 89 of file G4UGenericPolycone.cc.

References G4USolid::operator=().

+ Here is the call graph for this function:


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