Geant4
10.00.p02
|
#include <G4VCSGfaceted.hh>
Protected Member Functions | |
virtual G4double | DistanceTo (const G4ThreeVector &p, const G4bool outgoing) const |
G4ThreeVector | GetPointOnSurfaceGeneric () const |
void | CopyStuff (const G4VCSGfaceted &source) |
void | DeleteStuff () |
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 | |
G4int | numFace |
G4VCSGface ** | faces |
G4double | fCubicVolume |
G4double | fSurfaceArea |
G4Polyhedron * | fpPolyhedron |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
Private Attributes | |
G4int | fStatistics |
G4double | fCubVolEpsilon |
G4double | fAreaAccuracy |
Definition at line 53 of file G4VCSGfaceted.hh.
G4VCSGfaceted::G4VCSGfaceted | ( | const G4String & | name | ) |
Definition at line 62 of file G4VCSGfaceted.cc.
|
virtual |
Definition at line 84 of file G4VCSGfaceted.cc.
References DeleteStuff(), and fpPolyhedron.
G4VCSGfaceted::G4VCSGfaceted | ( | const G4VCSGfaceted & | source | ) |
Definition at line 94 of file G4VCSGfaceted.cc.
References CopyStuff(), fAreaAccuracy, fCubVolEpsilon, and fStatistics.
G4VCSGfaceted::G4VCSGfaceted | ( | __void__ & | a | ) |
Definition at line 74 of file G4VCSGfaceted.cc.
|
virtual |
Implements G4VSolid.
Definition at line 177 of file G4VCSGfaceted.cc.
References G4VCSGface::CalculateExtent(), faces, G4SolidExtentList::GetExtent(), and numFace.
|
protected |
Definition at line 134 of file G4VCSGfaceted.cc.
References G4VCSGface::Clone(), faces, fCubicVolume, fpPolyhedron, fSurfaceArea, and numFace.
Referenced by G4VCSGfaceted(), and operator=().
|
pure virtual |
Reimplemented from G4VSolid.
Implemented in G4Polyhedra, G4Polycone, and G4GenericPolycone.
Referenced by GetPolyhedron().
|
protected |
Definition at line 158 of file G4VCSGfaceted.cc.
References faces, fpPolyhedron, and numFace.
Referenced by operator=(), G4Polycone::Reset(), G4Polyhedra::Reset(), and ~G4VCSGfaceted().
|
virtual |
Implements G4VSolid.
Definition at line 404 of file G4VCSGfaceted.cc.
References G4VGraphicsScene::AddSolid().
|
protectedvirtual |
Definition at line 386 of file G4VCSGfaceted.cc.
References faces, G4VSolid::kCarTolerance, kInfinity, and numFace.
Referenced by DistanceToIn(), and DistanceToOut().
|
virtual |
Implements G4VSolid.
Reimplemented in G4Polycone, G4Polyhedra, and G4GenericPolycone.
Definition at line 256 of file G4VCSGfaceted.cc.
References G4VCSGface::Distance(), faces, G4VSolid::kCarTolerance, kInfinity, and numFace.
Referenced by G4GenericPolycone::DistanceToIn(), G4Polyhedra::DistanceToIn(), and G4Polycone::DistanceToIn().
|
virtual |
Implements G4VSolid.
Reimplemented in G4Polyhedra, G4Polycone, and G4GenericPolycone.
Definition at line 298 of file G4VCSGfaceted.cc.
References DistanceTo().
|
virtual |
Implements G4VSolid.
Definition at line 307 of file G4VCSGfaceted.cc.
References G4VCSGface::Distance(), faces, Inside(), G4VSolid::kCarTolerance, kInfinity, kSurface, CLHEP::normal(), and numFace.
|
virtual |
Implements G4VSolid.
Definition at line 375 of file G4VCSGfaceted.cc.
References DistanceTo().
G4double G4VCSGfaceted::GetAreaAccuracy | ( | ) | const |
Definition at line 522 of file G4VCSGfaceted.cc.
References fAreaAccuracy.
G4int G4VCSGfaceted::GetAreaStatistics | ( | ) | const |
Definition at line 513 of file G4VCSGfaceted.cc.
References fStatistics.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 551 of file G4VCSGfaceted.cc.
References G4VSolid::EstimateCubicVolume(), fCubicVolume, fCubVolEpsilon, and fStatistics.
G4double G4VCSGfaceted::GetCubVolEpsilon | ( | ) | const |
Definition at line 484 of file G4VCSGfaceted.cc.
References fCubVolEpsilon.
G4int G4VCSGfaceted::GetCubVolStatistics | ( | ) | const |
Definition at line 475 of file G4VCSGfaceted.cc.
References fStatistics.
|
virtual |
Implements G4VSolid.
Reimplemented in G4Polycone, G4Polyhedra, and G4GenericPolycone.
Definition at line 449 of file G4VCSGfaceted.cc.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 415 of file G4VCSGfaceted.cc.
References G4VCSGface::Extent(), faces, kInfinity, and numFace.
|
protected |
Definition at line 590 of file G4VCSGfaceted.cc.
References faces, G4UniformRand, numFace, and G4VCSGface::SurfaceArea().
Referenced by G4GenericPolycone::GetPointOnSurface(), and G4Polyhedra::GetPointOnSurface().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 573 of file G4VCSGfaceted.cc.
References CreatePolyhedron(), fpPolyhedron, and G4Polyhedron::GetNumberOfRotationStepsAtTimeOfCreation().
Referenced by G4GenericPolycone::CopyStuff(), G4Polycone::CopyStuff(), and G4Polyhedra::CopyStuff().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 562 of file G4VCSGfaceted.cc.
References G4VSolid::EstimateSurfaceArea(), fAreaAccuracy, fStatistics, and fSurfaceArea.
|
virtual |
Implements G4VSolid.
Reimplemented in G4Polycone, G4Polyhedra, and G4GenericPolycone.
Definition at line 209 of file G4VCSGfaceted.cc.
References faces, G4VSolid::kCarTolerance, kInfinity, kOutside, kSurface, and numFace.
Referenced by DistanceToOut(), G4GenericPolycone::Inside(), G4Polyhedra::Inside(), and G4Polycone::Inside().
G4VCSGfaceted & G4VCSGfaceted::operator= | ( | const G4VCSGfaceted & | source | ) |
Definition at line 108 of file G4VCSGfaceted.cc.
References CopyStuff(), DeleteStuff(), fAreaAccuracy, fCubVolEpsilon, fStatistics, and G4VSolid::operator=().
Referenced by G4GenericPolycone::operator=(), G4Polycone::operator=(), and G4Polyhedra::operator=().
void G4VCSGfaceted::SetAreaAccuracy | ( | G4double | ep | ) |
Definition at line 541 of file G4VCSGfaceted.cc.
References fAreaAccuracy, and fSurfaceArea.
void G4VCSGfaceted::SetAreaStatistics | ( | G4int | st | ) |
Definition at line 531 of file G4VCSGfaceted.cc.
References fStatistics, and fSurfaceArea.
void G4VCSGfaceted::SetCubVolEpsilon | ( | G4double | ep | ) |
Definition at line 503 of file G4VCSGfaceted.cc.
References fCubicVolume, and fCubVolEpsilon.
void G4VCSGfaceted::SetCubVolStatistics | ( | G4int | st | ) |
Definition at line 493 of file G4VCSGfaceted.cc.
References fCubicVolume, and fStatistics.
|
virtual |
Implements G4VSolid.
Reimplemented in G4Polyhedra, G4Polycone, and G4GenericPolycone.
Definition at line 458 of file G4VCSGfaceted.cc.
References G4VSolid::GetName(), and numFace.
|
virtual |
Implements G4VSolid.
Definition at line 233 of file G4VCSGfaceted.cc.
References faces, kInfinity, CLHEP::normal(), and numFace.
|
protected |
Definition at line 120 of file G4VCSGfaceted.hh.
Referenced by CalculateExtent(), CopyStuff(), G4GenericPolycone::Create(), G4Polycone::Create(), G4Polyhedra::Create(), DeleteStuff(), DistanceTo(), DistanceToIn(), DistanceToOut(), GetExtent(), GetPointOnSurfaceGeneric(), Inside(), and SurfaceNormal().
|
private |
Definition at line 139 of file G4VCSGfaceted.hh.
Referenced by G4VCSGfaceted(), GetAreaAccuracy(), GetSurfaceArea(), operator=(), and SetAreaAccuracy().
|
protected |
Definition at line 121 of file G4VCSGfaceted.hh.
Referenced by CopyStuff(), GetCubicVolume(), SetCubVolEpsilon(), and SetCubVolStatistics().
|
private |
Definition at line 138 of file G4VCSGfaceted.hh.
Referenced by G4VCSGfaceted(), GetCubicVolume(), GetCubVolEpsilon(), operator=(), and SetCubVolEpsilon().
|
mutableprotected |
Definition at line 123 of file G4VCSGfaceted.hh.
Referenced by G4GenericPolycone::CopyStuff(), CopyStuff(), G4Polycone::CopyStuff(), G4Polyhedra::CopyStuff(), DeleteStuff(), GetPolyhedron(), and ~G4VCSGfaceted().
|
private |
Definition at line 137 of file G4VCSGfaceted.hh.
Referenced by G4VCSGfaceted(), GetAreaStatistics(), GetCubicVolume(), GetCubVolStatistics(), GetSurfaceArea(), operator=(), SetAreaStatistics(), and SetCubVolStatistics().
|
protected |
Definition at line 122 of file G4VCSGfaceted.hh.
Referenced by CopyStuff(), GetSurfaceArea(), SetAreaAccuracy(), and SetAreaStatistics().
|
protected |
Definition at line 119 of file G4VCSGfaceted.hh.
Referenced by CalculateExtent(), CopyStuff(), G4GenericPolycone::Create(), G4Polycone::Create(), G4Polyhedra::Create(), DeleteStuff(), DistanceTo(), DistanceToIn(), DistanceToOut(), GetExtent(), GetPointOnSurfaceGeneric(), Inside(), StreamInfo(), and SurfaceNormal().