Geant4  10.01.p02
G4EllipticalCone Class Reference

#include <G4EllipticalCone.hh>

+ Inheritance diagram for G4EllipticalCone:
+ Collaboration diagram for G4EllipticalCone:

Public Member Functions

 G4EllipticalCone (const G4String &pName, G4double pxSemiAxis, G4double pySemiAxis, G4double zMax, G4double pzTopCut)
 
virtual ~G4EllipticalCone ()
 
G4double GetSemiAxisMax () const
 
G4double GetSemiAxisX () const
 
G4double GetSemiAxisY () const
 
G4double GetZMax () const
 
G4double GetZTopCut () const
 
void SetSemiAxis (G4double x, G4double y, G4double z)
 
void SetZCut (G4double newzTopCut)
 
G4double GetCubicVolume ()
 
G4double GetSurfaceArea ()
 
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
 
G4ThreeVector GetPointOnSurface () const
 
std::ostream & StreamInfo (std::ostream &os) const
 
G4PolyhedronGetPolyhedron () const
 
void DescribeYourselfTo (G4VGraphicsScene &scene) const
 
G4VisExtent GetExtent () const
 
G4PolyhedronCreatePolyhedron () const
 
 G4EllipticalCone (__void__ &)
 
 G4EllipticalCone (const G4EllipticalCone &rhs)
 
G4EllipticalConeoperator= (const G4EllipticalCone &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 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 Member Functions

G4ThreeVectorListCreateRotatedVertices (const G4AffineTransform &pT, G4int &noPV) 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

G4bool fRebuildPolyhedron
 
G4PolyhedronfpPolyhedron
 
- Protected Attributes inherited from G4VSolid
G4double kCarTolerance
 

Private Attributes

G4double kRadTolerance
 
G4double halfRadTol
 
G4double halfCarTol
 
G4double fCubicVolume
 
G4double fSurfaceArea
 
G4double xSemiAxis
 
G4double ySemiAxis
 
G4double zheight
 
G4double semiAxisMax
 
G4double zTopCut
 

Detailed Description

Definition at line 85 of file G4EllipticalCone.hh.

Constructor & Destructor Documentation

G4EllipticalCone::G4EllipticalCone ( const G4String pName,
G4double  pxSemiAxis,
G4double  pySemiAxis,
G4double  zMax,
G4double  pzTopCut 
)

Definition at line 70 of file G4EllipticalCone.cc.

References FatalErrorInArgument, G4Exception(), G4GeometryTolerance::GetInstance(), G4VSolid::GetName(), G4GeometryTolerance::GetRadialTolerance(), halfCarTol, halfRadTol, G4VSolid::kCarTolerance, kRadTolerance, SetSemiAxis(), and SetZCut().

Referenced by Clone().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4EllipticalCone::~G4EllipticalCone ( )
virtual

Definition at line 122 of file G4EllipticalCone.cc.

References fpPolyhedron.

G4EllipticalCone::G4EllipticalCone ( __void__ &  a)

Definition at line 110 of file G4EllipticalCone.cc.

G4EllipticalCone::G4EllipticalCone ( const G4EllipticalCone rhs)

Definition at line 131 of file G4EllipticalCone.cc.

Member Function Documentation

G4bool G4EllipticalCone::CalculateExtent ( const EAxis  pAxis,
const G4VoxelLimits pVoxelLimit,
const G4AffineTransform pTransform,
G4double pmin,
G4double pmax 
) const
virtual
G4VSolid * G4EllipticalCone::Clone ( ) const
virtual

Reimplemented from G4VSolid.

Definition at line 967 of file G4EllipticalCone.cc.

References G4EllipticalCone().

+ Here is the call graph for this function:

G4Polyhedron * G4EllipticalCone::CreatePolyhedron ( ) const
virtual

Reimplemented from G4VSolid.

Definition at line 1077 of file G4EllipticalCone.cc.

References xSemiAxis, ySemiAxis, zheight, and zTopCut.

Referenced by GetPolyhedron().

+ Here is the caller graph for this function:

G4ThreeVectorList* G4EllipticalCone::CreateRotatedVertices ( const G4AffineTransform pT,
G4int noPV 
) const
protected
void G4EllipticalCone::DescribeYourselfTo ( G4VGraphicsScene scene) const
virtual

Implements G4VSolid.

Definition at line 1059 of file G4EllipticalCone.cc.

References G4VGraphicsScene::AddSolid().

+ Here is the call graph for this function:

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

Implements G4VSolid.

Definition at line 439 of file G4EllipticalCone.cc.

References A, halfCarTol, G4VSolid::kCarTolerance, kInfinity, kRadTolerance, G4InuclParticleNames::lambda, sqr(), xSemiAxis, ySemiAxis, zheight, and zTopCut.

+ Here is the call graph for this function:

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

Implements G4VSolid.

Definition at line 688 of file G4EllipticalCone.cc.

References G4VSolid::kCarTolerance, sqr(), xSemiAxis, ySemiAxis, zheight, and zTopCut.

+ Here is the call graph for this function:

G4double G4EllipticalCone::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 746 of file G4EllipticalCone.cc.

References A, G4VSolid::DumpInfo(), G4endl, G4Exception(), JustWarning, G4VSolid::kCarTolerance, kInfinity, G4InuclParticleNames::lambda, mm, sqr(), xSemiAxis, ySemiAxis, zheight, and zTopCut.

+ Here is the call graph for this function:

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

Implements G4VSolid.

Definition at line 908 of file G4EllipticalCone.cc.

References G4VSolid::DumpInfo(), G4endl, G4Exception(), Inside(), JustWarning, kOutside, G4INCL::Math::min(), mm, sqr(), xSemiAxis, ySemiAxis, zheight, and zTopCut.

+ Here is the call graph for this function:

G4double G4EllipticalCone::GetCubicVolume ( )
inlinevirtual

Reimplemented from G4VSolid.

G4GeometryType G4EllipticalCone::GetEntityType ( ) const
virtual

Implements G4VSolid.

Definition at line 958 of file G4EllipticalCone.cc.

G4VisExtent G4EllipticalCone::GetExtent ( ) const
virtual

Reimplemented from G4VSolid.

Definition at line 1064 of file G4EllipticalCone.cc.

References xSemiAxis, ySemiAxis, and zTopCut.

G4ThreeVector G4EllipticalCone::GetPointOnSurface ( ) const
virtual

Reimplemented from G4VSolid.

Definition at line 1001 of file G4EllipticalCone.cc.

References G4INCL::Math::pi, G4INCL::DeJongSpin::shoot(), sqr(), xSemiAxis, ySemiAxis, zheight, and zTopCut.

+ Here is the call graph for this function:

G4Polyhedron * G4EllipticalCone::GetPolyhedron ( ) const
virtual

Reimplemented from G4VSolid.

Definition at line 1082 of file G4EllipticalCone.cc.

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

+ Here is the call graph for this function:

G4double G4EllipticalCone::GetSemiAxisMax ( ) const
inline

Referenced by export_G4EllipticalCone().

+ Here is the caller graph for this function:

G4double G4EllipticalCone::GetSemiAxisX ( ) const
inline

Referenced by G4GDMLWriteSolids::ElconeWrite().

+ Here is the caller graph for this function:

G4double G4EllipticalCone::GetSemiAxisY ( ) const
inline

Referenced by G4GDMLWriteSolids::ElconeWrite().

+ Here is the caller graph for this function:

G4double G4EllipticalCone::GetSurfaceArea ( )
inlinevirtual

Reimplemented from G4VSolid.

G4double G4EllipticalCone::GetZMax ( ) const
inline

Referenced by G4GDMLWriteSolids::ElconeWrite().

+ Here is the caller graph for this function:

G4double G4EllipticalCone::GetZTopCut ( ) const
inline

Referenced by G4GDMLWriteSolids::ElconeWrite(), and export_G4EllipticalCone().

+ Here is the caller graph for this function:

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

Implements G4VSolid.

Definition at line 293 of file G4EllipticalCone.cc.

References halfCarTol, halfRadTol, kInside, kOutside, kSurface, sqr(), xSemiAxis, ySemiAxis, zheight, and zTopCut.

Referenced by DistanceToOut().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 146 of file G4EllipticalCone.cc.

References fCubicVolume, fpPolyhedron, fRebuildPolyhedron, fSurfaceArea, halfCarTol, halfRadTol, kRadTolerance, G4VSolid::operator=(), semiAxisMax, xSemiAxis, ySemiAxis, zheight, and zTopCut.

+ Here is the call graph for this function:

void G4EllipticalCone::SetSemiAxis ( G4double  x,
G4double  y,
G4double  z 
)
inline

Referenced by export_G4EllipticalCone(), and G4EllipticalCone().

+ Here is the caller graph for this function:

void G4EllipticalCone::SetZCut ( G4double  newzTopCut)
inline

Referenced by export_G4EllipticalCone(), and G4EllipticalCone().

+ Here is the caller graph for this function:

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

Implements G4VSolid.

Definition at line 976 of file G4EllipticalCone.cc.

References G4VSolid::GetName(), mm, xSemiAxis, ySemiAxis, zheight, and zTopCut.

+ Here is the call graph for this function:

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

Implements G4VSolid.

Definition at line 339 of file G4EllipticalCone.cc.

References c2, G4INCL::Math::pi, sqr(), xSemiAxis, ySemiAxis, zheight, and zTopCut.

+ Here is the call graph for this function:

Member Data Documentation

G4double G4EllipticalCone::fCubicVolume
private

Definition at line 173 of file G4EllipticalCone.hh.

Referenced by operator=().

G4Polyhedron* G4EllipticalCone::fpPolyhedron
mutableprotected

Definition at line 166 of file G4EllipticalCone.hh.

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

G4bool G4EllipticalCone::fRebuildPolyhedron
mutableprotected

Definition at line 165 of file G4EllipticalCone.hh.

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

G4double G4EllipticalCone::fSurfaceArea
private

Definition at line 174 of file G4EllipticalCone.hh.

Referenced by operator=().

G4double G4EllipticalCone::halfCarTol
private

Definition at line 171 of file G4EllipticalCone.hh.

Referenced by DistanceToIn(), G4EllipticalCone(), Inside(), and operator=().

G4double G4EllipticalCone::halfRadTol
private

Definition at line 171 of file G4EllipticalCone.hh.

Referenced by G4EllipticalCone(), Inside(), and operator=().

G4double G4EllipticalCone::kRadTolerance
private

Definition at line 170 of file G4EllipticalCone.hh.

Referenced by DistanceToIn(), G4EllipticalCone(), and operator=().

G4double G4EllipticalCone::semiAxisMax
private

Definition at line 175 of file G4EllipticalCone.hh.

Referenced by operator=().


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