Geant4  10.03
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)
 
void Extent (G4ThreeVector &pMin, G4ThreeVector &pMax) const
 
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)
 
G4double EstimateCubicVolume (G4int nStat, G4double epsilon) const
 
G4double EstimateSurfaceArea (G4int nStat, G4double ell) const
 

Protected Attributes

G4bool fRebuildPolyhedron
 
G4PolyhedronfpPolyhedron
 
- Protected Attributes inherited from G4VSolid
G4double kCarTolerance
 

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
 

Detailed Description

Definition at line 75 of file G4Paraboloid.hh.

Constructor & Destructor Documentation

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

Definition at line 66 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 113 of file G4Paraboloid.cc.

References fpPolyhedron.

G4Paraboloid::G4Paraboloid ( __void__ &  a)

Definition at line 102 of file G4Paraboloid.cc.

G4Paraboloid::G4Paraboloid ( const G4Paraboloid rhs)

Definition at line 122 of file G4Paraboloid.cc.

Member Function Documentation

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

Implements G4VSolid.

Definition at line 194 of file G4Paraboloid.cc.

References G4BoundingEnvelope::CalculateExtent(), and Extent().

+ Here is the call graph for this function:

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 879 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 945 of file G4Paraboloid.cc.

References dz, r1, r2, and twopi.

Referenced by GetPolyhedron().

+ Here is the caller graph for this function:

void G4Paraboloid::DescribeYourselfTo ( G4VGraphicsScene scene) const
virtual

Implements G4VSolid.

Definition at line 940 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 349 of file G4Paraboloid.cc.

References A(), B(), 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 482 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 518 of file G4Paraboloid.cc.

References A(), B(), 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 829 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:

void G4Paraboloid::Extent ( G4ThreeVector pMin,
G4ThreeVector pMax 
) const
virtual

Reimplemented from G4VSolid.

Definition at line 170 of file G4Paraboloid.cc.

References G4VSolid::DumpInfo(), dz, G4Exception(), G4VSolid::GetName(), JustWarning, and r2.

Referenced by CalculateExtent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4Paraboloid::GetCubicVolume ( )
inlinevirtual

Reimplemented from G4VSolid.

G4GeometryType G4Paraboloid::GetEntityType ( ) const
virtual

Implements G4VSolid.

Definition at line 870 of file G4Paraboloid.cc.

G4ThreeVector G4Paraboloid::GetPointOnSurface ( ) const
virtual

Reimplemented from G4VSolid.

Definition at line 909 of file G4Paraboloid.cc.

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

+ Here is the call graph for this function:

G4Polyhedron * G4Paraboloid::GetPolyhedron ( ) const
virtual

Reimplemented from G4VSolid.

Definition at line 951 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 213 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 134 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 888 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 255 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 159 of file G4Paraboloid.hh.

Referenced by operator=().

G4Polyhedron* G4Paraboloid::fpPolyhedron
mutableprotected

Definition at line 152 of file G4Paraboloid.hh.

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

G4bool G4Paraboloid::fRebuildPolyhedron
mutableprotected

Definition at line 151 of file G4Paraboloid.hh.

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

G4double G4Paraboloid::fSurfaceArea
mutableprivate

Definition at line 158 of file G4Paraboloid.hh.

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

G4double G4Paraboloid::k1
private
G4double G4Paraboloid::k2
private

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