Geant4  10.01.p02
G4Paraboloid Class Reference

#include <G4Paraboloid.hh>

+ Inheritance diagram for G4Paraboloid:
+ Collaboration diagram for G4Paraboloid:

Public Member Functions

 G4Paraboloid (const G4String &pName, G4double pDz, G4double pR1, G4double pR2)
 
virtual ~G4Paraboloid ()
 
G4double GetZHalfLength () const
 
G4double GetRadiusMinusZ () const
 
G4double GetRadiusPlusZ () const
 
G4double GetCubicVolume ()
 
G4double GetSurfaceArea ()
 
G4double CalculateSurfaceArea () const
 
void SetZHalfLength (G4double dz)
 
void SetRadiusMinusZ (G4double R1)
 
void SetRadiusPlusZ (G4double R2)
 
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=G4bool(false), G4bool *validNorm=0, G4ThreeVector *n=0) const
 
G4double DistanceToOut (const G4ThreeVector &p) const
 
G4GeometryType GetEntityType () const
 
G4VSolidClone () const
 
std::ostream & StreamInfo (std::ostream &os) const
 
G4ThreeVector GetPointOnSurface () const
 
void DescribeYourselfTo (G4VGraphicsScene &scene) const
 
G4PolyhedronCreatePolyhedron () const
 
G4PolyhedronGetPolyhedron () const
 
 G4Paraboloid (__void__ &)
 
 G4Paraboloid (const G4Paraboloid &rhs)
 
G4Paraboloidoperator= (const G4Paraboloid &rhs)
 
- 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
 
virtual void ComputeDimensions (G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
 
void DumpInfo () const
 
virtual G4VisExtent GetExtent () 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)
 

Protected Attributes

G4bool fRebuildPolyhedron
 
G4PolyhedronfpPolyhedron
 
- Protected Attributes inherited from G4VSolid
G4double kCarTolerance
 

Private Member Functions

G4ThreeVectorListCreateRotatedVertices (const G4AffineTransform &pTransform, G4int &noPolygonVertices) const
 

Private Attributes

G4double fSurfaceArea
 
G4double fCubicVolume
 
G4double dz
 
G4double r1
 
G4double r2
 
G4double k1
 
G4double k2
 

Additional Inherited Members

- 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
 

Detailed Description

Definition at line 65 of file G4Paraboloid.hh.

Constructor & Destructor Documentation

G4Paraboloid::G4Paraboloid ( const G4String pName,
G4double  pDz,
G4double  pR1,
G4double  pR2 
)

Definition at line 63 of file G4Paraboloid.cc.

References dz, FatalErrorInArgument, G4Exception(), G4VSolid::GetName(), k1, k2, r1, and r2.

Referenced by Clone().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4Paraboloid::~G4Paraboloid ( )
virtual

Definition at line 110 of file G4Paraboloid.cc.

References fpPolyhedron.

G4Paraboloid::G4Paraboloid ( __void__ &  a)

Definition at line 99 of file G4Paraboloid.cc.

G4Paraboloid::G4Paraboloid ( const G4Paraboloid rhs)

Definition at line 119 of file G4Paraboloid.cc.

Member Function Documentation

G4double G4Paraboloid::CalculateSurfaceArea ( ) const
inline

Referenced by GetPointOnSurface().

+ Here is the caller graph for this function:

G4VSolid * G4Paraboloid::Clone ( ) const
virtual

Reimplemented from G4VSolid.

Definition at line 980 of file G4Paraboloid.cc.

References G4Paraboloid().

+ Here is the call graph for this function:

G4Polyhedron * G4Paraboloid::CreatePolyhedron ( ) const
virtual

Reimplemented from G4VSolid.

Definition at line 1157 of file G4Paraboloid.cc.

References dz, r1, and r2.

Referenced by GetPolyhedron().

+ Here is the caller graph for this function:

G4ThreeVectorList * G4Paraboloid::CreateRotatedVertices ( const G4AffineTransform pTransform,
G4int noPolygonVertices 
) const
private

Definition at line 1038 of file G4Paraboloid.cc.

References G4VSolid::DumpInfo(), FatalException, G4Exception(), k1, k2, kMeshAngleDefault, G4INCL::Math::pi, r1, r2, sqr(), and G4AffineTransform::TransformPoint().

Referenced by CalculateExtent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4Paraboloid::DescribeYourselfTo ( G4VGraphicsScene scene) const
virtual

Implements G4VSolid.

Definition at line 1152 of file G4Paraboloid.cc.

References G4VGraphicsScene::AddSolid().

+ Here is the call graph for this function:

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

Implements G4VSolid.

Definition at line 450 of file G4Paraboloid.cc.

References A, dz, G4endl, G4Exception(), G4VSolid::GetName(), Inside(), JustWarning, k1, k2, G4VSolid::kCarTolerance, kInfinity, kInside, mm, CLHEP::normal(), r1, r2, and sqr().

+ Here is the call graph for this function:

G4double G4Paraboloid::DistanceToIn ( const G4ThreeVector p) const
virtual

Implements G4VSolid.

Definition at line 583 of file G4Paraboloid.cc.

References dz, k1, k2, kInfinity, and r2.

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

Implements G4VSolid.

Definition at line 619 of file G4Paraboloid.cc.

References A, dz, G4endl, G4Exception(), Inside(), JustWarning, k1, k2, G4VSolid::kCarTolerance, kInfinity, kOutside, CLHEP::normal(), r1, r2, and sqr().

+ Here is the call graph for this function:

G4double G4Paraboloid::DistanceToOut ( const G4ThreeVector p) const
virtual

Implements G4VSolid.

Definition at line 930 of file G4Paraboloid.cc.

References G4VSolid::DumpInfo(), dz, G4cout, G4endl, G4Exception(), Inside(), JustWarning, G4VSolid::kCarTolerance, kOutside, mm, r1, and r2.

+ Here is the call graph for this function:

G4double G4Paraboloid::GetCubicVolume ( )
inlinevirtual

Reimplemented from G4VSolid.

G4GeometryType G4Paraboloid::GetEntityType ( ) const
virtual

Implements G4VSolid.

Definition at line 971 of file G4Paraboloid.cc.

G4ThreeVector G4Paraboloid::GetPointOnSurface ( ) const
virtual

Reimplemented from G4VSolid.

Definition at line 1010 of file G4Paraboloid.cc.

References A, CalculateSurfaceArea(), dz, fSurfaceArea, k1, k2, G4INCL::Math::pi, r1, r2, G4INCL::DeJongSpin::shoot(), sqr(), and z.

+ Here is the call graph for this function:

G4Polyhedron * G4Paraboloid::GetPolyhedron ( ) const
virtual

Reimplemented from G4VSolid.

Definition at line 1163 of file G4Paraboloid.cc.

References CreatePolyhedron(), fpPolyhedron, fRebuildPolyhedron, G4Polyhedron::GetNumberOfRotationStepsAtTimeOfCreation(), and G4TemplateAutoLock< M, L, U >::unlock().

+ Here is the call graph for this function:

G4double G4Paraboloid::GetRadiusMinusZ ( ) const
inline

Referenced by G4GDMLWriteSolids::ParaboloidWrite().

+ Here is the caller graph for this function:

G4double G4Paraboloid::GetRadiusPlusZ ( ) const
inline

Referenced by G4GDMLWriteSolids::ParaboloidWrite().

+ Here is the caller graph for this function:

G4double G4Paraboloid::GetSurfaceArea ( )
inlinevirtual

Reimplemented from G4VSolid.

G4double G4Paraboloid::GetZHalfLength ( ) const
inline

Referenced by G4GDMLWriteSolids::ParaboloidWrite().

+ Here is the caller graph for this function:

EInside G4Paraboloid::Inside ( const G4ThreeVector p) const
virtual

Implements G4VSolid.

Definition at line 314 of file G4Paraboloid.cc.

References A, dz, k1, k2, G4VSolid::kCarTolerance, kInside, kOutside, kSurface, and sqr().

Referenced by DistanceToIn(), and DistanceToOut().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4Paraboloid & G4Paraboloid::operator= ( const G4Paraboloid rhs)

Definition at line 131 of file G4Paraboloid.cc.

References dz, fCubicVolume, fpPolyhedron, fRebuildPolyhedron, fSurfaceArea, k1, k2, G4VSolid::operator=(), r1, and r2.

+ Here is the call graph for this function:

void G4Paraboloid::SetRadiusMinusZ ( G4double  R1)
inline
void G4Paraboloid::SetRadiusPlusZ ( G4double  R2)
inline
void G4Paraboloid::SetZHalfLength ( G4double  dz)
inline
std::ostream & G4Paraboloid::StreamInfo ( std::ostream &  os) const
virtual

Implements G4VSolid.

Definition at line 989 of file G4Paraboloid.cc.

References dz, G4VSolid::GetName(), mm, r1, and r2.

+ Here is the call graph for this function:

G4ThreeVector G4Paraboloid::SurfaceNormal ( const G4ThreeVector p) const
virtual

Implements G4VSolid.

Definition at line 356 of file G4Paraboloid.cc.

References A, dz, G4endl, G4Exception(), JustWarning, k1, k2, G4VSolid::kCarTolerance, mm, n, r1, r2, and sqr().

+ Here is the call graph for this function:

Member Data Documentation

G4double G4Paraboloid::fCubicVolume
private

Definition at line 151 of file G4Paraboloid.hh.

Referenced by operator=().

G4Polyhedron* G4Paraboloid::fpPolyhedron
mutableprotected

Definition at line 141 of file G4Paraboloid.hh.

Referenced by GetPolyhedron(), operator=(), and ~G4Paraboloid().

G4bool G4Paraboloid::fRebuildPolyhedron
mutableprotected

Definition at line 140 of file G4Paraboloid.hh.

Referenced by GetPolyhedron(), and operator=().

G4double G4Paraboloid::fSurfaceArea
mutableprivate

Definition at line 150 of file G4Paraboloid.hh.

Referenced by GetPointOnSurface(), and operator=().


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