ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/geometry/solids/specific/include/G4TessellatedSolid.hh>
Protected Attributes | |
G4double | kCarToleranceHalf |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
Static Private Member Functions | |
static G4bool | CompareSortedVoxel (const std::pair< G4int, G4double > &l, const std::pair< G4int, G4double > &r) |
Private Attributes | |
G4bool | fRebuildPolyhedron = false |
G4Polyhedron * | fpPolyhedron = nullptr |
std::vector< G4VFacet * > | fFacets |
std::set< G4VFacet * > | fExtremeFacets |
G4GeometryType | fGeometryType |
G4double | fCubicVolume = 0.0 |
G4double | fSurfaceArea = 0.0 |
std::vector< G4ThreeVector > | fVertexList |
std::set< G4VertexInfo, G4VertexComparator > | fFacetList |
G4ThreeVector | fMinExtent |
G4ThreeVector | fMaxExtent |
G4bool | fSolidClosed = false |
std::vector< G4ThreeVector > | fRandir |
G4int | fMaxTries |
G4Voxelizer | fVoxels |
G4SurfBits | fInsides |
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 |
Definition at line 127 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 127 of file G4TessellatedSolid.hh
G4TessellatedSolid::G4TessellatedSolid | ( | ) |
Definition at line 86 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 86 of file G4TessellatedSolid.cc
References Initialize().
Referenced by Clone().
|
virtual |
Definition at line 116 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 116 of file G4TessellatedSolid.cc
References DeleteObjects().
G4TessellatedSolid::G4TessellatedSolid | ( | const G4String & | name | ) |
Definition at line 96 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 96 of file G4TessellatedSolid.cc
References Initialize().
G4TessellatedSolid::G4TessellatedSolid | ( | __void__ & | a | ) |
Definition at line 107 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 107 of file G4TessellatedSolid.cc
References fMaxExtent, fMinExtent, Initialize(), and CLHEP::Hep3Vector::set().
G4TessellatedSolid::G4TessellatedSolid | ( | const G4TessellatedSolid & | ts | ) |
Definition at line 125 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 125 of file G4TessellatedSolid.cc
References CopyObjects(), and Initialize().
Definition at line 207 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 207 of file G4TessellatedSolid.cc
References fFacetList, fFacets, fSolidClosed, G4cout, G4Exception(), G4VFacet::GetCircumcentre(), G4VertexInfo::id, G4VFacet::IsDefined(), it, JustWarning, G4VSolid::kCarTolerance, G4VertexInfo::mag2, OutsideOfExtent(), pos(), G4VFacet::StreamInfo(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by G4ExtrudedSolid::AddGeneralPolygonFacets(), CopyObjects(), G4GenericTrap::CreateTessellatedSolid(), G4tgbVolume::FindOrConstructG4Solid(), G4ExtrudedSolid::MakeFacets(), operator+=(), and G4GDMLReadSolids::TessellatedRead().
G4int G4TessellatedSolid::AllocatedMemory | ( | ) |
Definition at line 2065 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 2065 of file G4TessellatedSolid.cc
References G4Voxelizer::AllocatedMemory(), AllocatedMemoryWithoutVoxels(), fInsides, fVoxels, and G4SurfBits::GetNbytes().
Referenced by DisplayAllocatedMemory().
G4int G4TessellatedSolid::AllocatedMemoryWithoutVoxels | ( | ) |
Definition at line 2042 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 2042 of file G4TessellatedSolid.cc
References G4VFacet::AllocatedMemory(), fExtremeFacets, fFacets, fRandir, fVertexList, and it.
Referenced by AllocatedMemory(), and DisplayAllocatedMemory().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1799 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1799 of file G4TessellatedSolid.cc
References G4VSolid::DumpInfo(), fMaxExtent, fMinExtent, G4Exception(), G4VSolid::GetName(), JustWarning, message(), pMax, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by CalculateExtent().
|
virtual |
Implements G4VSolid.
Reimplemented in G4ExtrudedSolid.
Definition at line 1825 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1825 of file G4TessellatedSolid.cc
References kdfinder::abs(), G4BoundingEnvelope::BoundingBoxVsVoxelLimits(), BoundingLimits(), G4BoundingEnvelope::CalculateExtent(), emax, CEMC_TOWER::emin, GetFacet(), G4VoxelLimits::GetMaxExtent(), G4VoxelLimits::GetMinExtent(), GetNumberOfFacets(), G4VFacet::GetNumberOfVertices(), G4VFacet::GetSurfaceNormal(), G4VFacet::GetVertex(), k, kCarToleranceHalf, and kInfinity.
|
virtual |
Reimplemented from G4VSolid.
Reimplemented in G4ExtrudedSolid.
Definition at line 1600 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1600 of file G4TessellatedSolid.cc
References G4TessellatedSolid().
|
staticprivate |
Definition at line 1402 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1402 of file G4TessellatedSolid.cc
Referenced by MinDistanceFacet().
|
private |
Definition at line 184 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 184 of file G4TessellatedSolid.cc
References AddFacet(), fVoxels, GetFacet(), G4Voxelizer::GetMaxVoxels(), GetNumberOfFacets(), GetSolidClosed(), n, G4Voxelizer::SetMaxVoxels(), and SetSolidClosed().
Referenced by G4TessellatedSolid(), and operator=().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1745 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1745 of file G4TessellatedSolid.cc
References G4PolyhedronArbitrary::AddFacet(), G4PolyhedronArbitrary::AddVertex(), fFacets, fVertexList, G4VFacet::GetNumberOfVertices(), G4VFacet::GetVertexIndex(), k, n, G4PolyhedronArbitrary::SetReferences(), and v.
Referenced by G4GenericTrap::CreatePolyhedron(), and GetPolyhedron().
|
private |
Definition at line 421 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 421 of file G4TessellatedSolid.cc
References e, fFacets, fMaxExtent, fMinExtent, fVertexList, G4cout, G4endl, G4VFacet::GetNumberOfVertices(), G4VFacet::GetVertex(), G4VertexInfo::id, it, k, G4VSolid::kCarTolerance, G4VertexInfo::mag2, max, OutsideOfExtent(), pos(), G4VFacet::SetVertexIndex(), G4VFacet::SetVertices(), CLHEP::Hep3Vector::setX(), CLHEP::Hep3Vector::setY(), CLHEP::Hep3Vector::setZ(), boost::swap(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by SetSolidClosed().
|
private |
Definition at line 174 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 174 of file G4TessellatedSolid.cc
References fFacets, and fpPolyhedron.
Referenced by operator=(), and ~G4TessellatedSolid().
|
virtual |
Implements G4VSolid.
Definition at line 1738 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1738 of file G4TessellatedSolid.cc
References G4VGraphicsScene::AddSolid().
Referenced by G4GenericTrap::DescribeYourselfTo().
void G4TessellatedSolid::DisplayAllocatedMemory | ( | ) |
Definition at line 555 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 555 of file G4TessellatedSolid.cc
References AllocatedMemory(), AllocatedMemoryWithoutVoxels(), G4cout, G4endl, and ratio.
Referenced by SetSolidClosed().
|
virtual |
Implements G4VSolid.
Reimplemented in G4ExtrudedSolid.
Definition at line 1653 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1653 of file G4TessellatedSolid.cc
References DistanceToInCore(), G4endl, G4Exception(), G4VSolid::GetName(), Inside(), JustWarning, kInfinity, kSurface, message(), and v.
Referenced by G4GenericTrap::DistanceToIn(), G4ExtrudedSolid::DistanceToIn(), DistanceToOutNoVoxels(), and SafetyFromInside().
|
virtual |
Implements G4VSolid.
Reimplemented in G4ExtrudedSolid.
Definition at line 1646 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1646 of file G4TessellatedSolid.cc
References SafetyFromOutside().
|
private |
Definition at line 1300 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1300 of file G4TessellatedSolid.cc
References fFacets, G4VFacet::Intersect(), kCarToleranceHalf, kInfinity, and CLHEP::normal().
Referenced by DistanceToInCore().
|
private |
Definition at line 1348 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1348 of file G4TessellatedSolid.cc
References G4Voxelizer::DistanceToFirst(), DistanceToInCandidates(), DistanceToInNoVoxels(), G4Voxelizer::DistanceToNext(), fVoxels, G4Voxelizer::GetCandidates(), G4Voxelizer::GetCountOfVoxels(), G4Voxelizer::GetVoxel(), G4VSolid::kCarTolerance, kInfinity, CLHEP::Hep3Vector::unit(), and G4Voxelizer::UpdateCurrentVoxel().
Referenced by DistanceToIn().
|
private |
Definition at line 1050 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1050 of file G4TessellatedSolid.cc
References DistanceToOut(), fFacets, G4endl, G4Exception(), Inside(), G4VFacet::Intersect(), JustWarning, kCarToleranceHalf, kInfinity, kInside, message(), mm, CLHEP::normal(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by DistanceToInCore().
|
virtual |
Implements G4VSolid.
Reimplemented in G4ExtrudedSolid.
Definition at line 1681 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1681 of file G4TessellatedSolid.cc
References SafetyFromInside().
Referenced by DistanceToInNoVoxels(), G4GenericTrap::DistanceToOut(), G4ExtrudedSolid::DistanceToOut(), and SafetyFromOutside().
|
virtual |
Implements G4VSolid.
Reimplemented in G4ExtrudedSolid.
Definition at line 1704 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1704 of file G4TessellatedSolid.cc
References DistanceToOutCore(), G4endl, G4Exception(), G4VSolid::GetName(), Inside(), JustWarning, kInfinity, kSurface, message(), n, v, and Acts::IntegrationTest::valid().
|
private |
Definition at line 1187 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1187 of file G4TessellatedSolid.cc
References G4VFacet::Distance(), fFacets, G4VFacet::Intersect(), G4VSolid::kCarTolerance, kCarToleranceHalf, and CLHEP::normal().
Referenced by DistanceToOutCore().
|
private |
Definition at line 1227 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1227 of file G4TessellatedSolid.cc
References G4Voxelizer::Contains(), G4Voxelizer::DistanceToNext(), DistanceToOutCandidates(), DistanceToOutNoVoxels(), fExtremeFacets, fFacets, fVoxels, G4Voxelizer::GetCandidates(), G4Voxelizer::GetCountOfVoxels(), G4Voxelizer::GetVoxel(), G4VSolid::kCarTolerance, kInfinity, Normal(), CLHEP::Hep3Vector::unit(), and G4Voxelizer::UpdateCurrentVoxel().
Referenced by DistanceToOut().
|
private |
Definition at line 1116 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1116 of file G4TessellatedSolid.cc
References G4VFacet::Distance(), DistanceToIn(), fExtremeFacets, fFacets, G4endl, G4Exception(), Inside(), G4VFacet::Intersect(), JustWarning, G4VSolid::kCarTolerance, kCarToleranceHalf, kInfinity, kOutside, message(), mm, CLHEP::normal(), Normal(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by DistanceToOutCore().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1939 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1939 of file G4TessellatedSolid.cc
References CLHEP::Hep3Vector::dot(), fCubicVolume, fFacets, G4VFacet::GetArea(), G4VFacet::GetSurfaceNormal(), and G4VFacet::GetVertex().
|
virtual |
Implements G4VSolid.
Reimplemented in G4ExtrudedSolid.
Definition at line 1570 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1570 of file G4TessellatedSolid.cc
References fGeometryType.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1930 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1930 of file G4TessellatedSolid.cc
References fMaxExtent, fMinExtent, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by G4GenericTrap::GetExtent().
Definition at line 302 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 302 of file G4TessellatedSolid.hh
References fFacets.
Referenced by CalculateExtent(), CopyObjects(), operator+=(), PHG4GDMLWriteSolids::TessellatedWrite(), and G4GDMLWriteSolids::TessellatedWrite().
G4double G4TessellatedSolid::GetMaxXExtent | ( | ) | const |
Definition at line 1895 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1895 of file G4TessellatedSolid.cc
References fMaxExtent, and CLHEP::Hep3Vector::x().
Referenced by G4ExtrudedSolid::Inside().
G4double G4TessellatedSolid::GetMaxYExtent | ( | ) | const |
Definition at line 1909 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1909 of file G4TessellatedSolid.cc
References fMaxExtent, and CLHEP::Hep3Vector::y().
Referenced by G4ExtrudedSolid::Inside().
G4double G4TessellatedSolid::GetMaxZExtent | ( | ) | const |
Definition at line 1923 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1923 of file G4TessellatedSolid.cc
References fMaxExtent, and CLHEP::Hep3Vector::z().
Referenced by G4ExtrudedSolid::Inside().
G4double G4TessellatedSolid::GetMinXExtent | ( | ) | const |
Definition at line 1888 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1888 of file G4TessellatedSolid.cc
References fMinExtent, and CLHEP::Hep3Vector::x().
Referenced by G4ExtrudedSolid::Inside().
G4double G4TessellatedSolid::GetMinYExtent | ( | ) | const |
Definition at line 1902 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1902 of file G4TessellatedSolid.cc
References fMinExtent, and CLHEP::Hep3Vector::y().
Referenced by G4ExtrudedSolid::Inside().
G4double G4TessellatedSolid::GetMinZExtent | ( | ) | const |
Definition at line 1916 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1916 of file G4TessellatedSolid.cc
References fMinExtent, and CLHEP::Hep3Vector::z().
Referenced by G4ExtrudedSolid::Inside().
G4int G4TessellatedSolid::GetNumberOfFacets | ( | ) | const |
Definition at line 627 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 627 of file G4TessellatedSolid.cc
References fFacets.
Referenced by CalculateExtent(), CopyObjects(), operator+=(), PHG4GDMLWriteSolids::TessellatedWrite(), and G4GDMLWriteSolids::TessellatedWrite().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1976 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1976 of file G4TessellatedSolid.cc
References fFacets, and G4INCL::DeJongSpin::shoot().
Referenced by G4GenericTrap::GetPointOnSurface().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1779 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1779 of file G4TessellatedSolid.cc
References CreatePolyhedron(), fpPolyhedron, fRebuildPolyhedron, HepPolyhedron::GetNumberOfRotationSteps(), G4Polyhedron::GetNumberOfRotationStepsAtTimeOfCreation(), and G4TemplateAutoLock< _Mutex_t >::unlock().
Referenced by G4GenericTrap::GetPolyhedron().
G4bool G4TessellatedSolid::GetSolidClosed | ( | ) | const |
Definition at line 599 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 599 of file G4TessellatedSolid.cc
References fSolidClosed.
Referenced by CopyObjects().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1961 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1961 of file G4TessellatedSolid.cc
References fFacets, fSurfaceArea, and G4VFacet::GetArea().
|
inline |
Definition at line 312 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 312 of file G4TessellatedSolid.hh
References fVoxels.
|
private |
Definition at line 156 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 156 of file G4TessellatedSolid.cc
References fCubicVolume, fGeometryType, fMaxExtent, fMinExtent, fpPolyhedron, fRebuildPolyhedron, fSolidClosed, fSurfaceArea, G4VSolid::kCarTolerance, kCarToleranceHalf, kInfinity, CLHEP::Hep3Vector::set(), and SetRandomVectors().
Referenced by G4TessellatedSolid(), and operator=().
|
virtual |
Implements G4VSolid.
Reimplemented in G4ExtrudedSolid.
Definition at line 1615 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1615 of file G4TessellatedSolid.cc
References fVoxels, G4Voxelizer::GetCountOfVoxels(), InsideNoVoxels(), and InsideVoxels().
Referenced by DistanceToIn(), DistanceToInNoVoxels(), DistanceToOut(), DistanceToOutNoVoxels(), G4GenericTrap::Inside(), SafetyFromInside(), and SafetyFromOutside().
|
private |
Definition at line 825 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 825 of file G4TessellatedSolid.cc
References G4VFacet::Distance(), CLHEP::Hep3Vector::dot(), f, fFacets, fGeometryType, fMaxTries, fRandir, G4endl, G4Exception(), G4VSolid::GetName(), JustWarning, G4VSolid::kCarTolerance, kCarToleranceHalf, kInfinity, kInside, kOutside, kSurface, message(), mm, OutsideOfExtent(), G4InuclParticleNames::sm, v, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by Inside(), and PrecalculateInsides().
|
private |
Definition at line 634 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 634 of file G4TessellatedSolid.cc
References G4VFacet::Distance(), G4Voxelizer::DistanceToNext(), CLHEP::Hep3Vector::dot(), fFacets, fGeometryType, fInsides, fMaxTries, fRandir, fVoxels, G4endl, G4Exception(), G4Voxelizer::GetCandidates(), G4VSolid::GetName(), G4SurfBits::GetNbits(), G4Voxelizer::GetPointIndex(), G4Voxelizer::GetVoxel(), G4Voxelizer::GetVoxelsIndex(), G4VFacet::Intersect(), JustWarning, G4VSolid::kCarTolerance, kCarToleranceHalf, kInfinity, kInside, kOutside, kSurface, message(), mm, OutsideOfExtent(), G4InuclParticleNames::sm, CLHEP::Hep3Vector::unit(), G4Voxelizer::UpdateCurrentVoxel(), v, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by Inside().
|
private |
Definition at line 1411 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1411 of file G4TessellatedSolid.cc
References CompareSortedVoxel(), G4VFacet::Distance(), fFacets, fVoxels, G4Voxelizer::GetVoxelBox(), G4Voxelizer::GetVoxelBoxCandidates(), G4Voxelizer::GetVoxelBoxesSize(), G4VoxelBox::hlen, inf, kInfinity, G4Voxelizer::MinDistanceToBox(), and G4VoxelBox::pos.
Referenced by Normal(), SafetyFromInside(), and SafetyFromOutside().
|
virtual |
Definition at line 971 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 971 of file G4TessellatedSolid.cc
References G4VFacet::Distance(), f, fFacets, fVoxels, G4endl, G4Exception(), G4Voxelizer::GetCandidates(), G4Voxelizer::GetCountOfVoxels(), G4VFacet::GetSurfaceNormal(), G4Voxelizer::GetVoxel(), JustWarning, kCarToleranceHalf, kInfinity, message(), MinDistanceFacet(), and CLHEP::Hep3Vector::z().
Referenced by DistanceToOutCore(), DistanceToOutNoVoxels(), and SurfaceNormal().
G4TessellatedSolid & G4TessellatedSolid::operator+= | ( | const G4TessellatedSolid & | right | ) |
Definition at line 614 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 614 of file G4TessellatedSolid.cc
References AddFacet(), G4VFacet::GetClone(), GetFacet(), and GetNumberOfFacets().
G4TessellatedSolid & G4TessellatedSolid::operator= | ( | const G4TessellatedSolid & | right | ) |
Definition at line 138 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 138 of file G4TessellatedSolid.cc
References CopyObjects(), DeleteObjects(), Initialize(), and G4VSolid::operator=().
Referenced by G4ExtrudedSolid::operator=().
|
inlineprivate |
Definition at line 317 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 317 of file G4TessellatedSolid.hh
References fMaxExtent, fMinExtent, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by AddFacet(), CreateVertexList(), InsideNoVoxels(), InsideVoxels(), SafetyFromInside(), and SafetyFromOutside().
|
private |
Definition at line 335 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 335 of file G4TessellatedSolid.cc
References G4SurfBits::Clear(), fInsides, fVoxels, G4Voxelizer::GetBoundary(), G4Voxelizer::GetVoxelsIndex(), InsideNoVoxels(), G4Voxelizer::IsEmpty(), kInside, G4SurfBits::ResetBitNumber(), SetAllUsingStack(), and G4SurfBits::SetBitNumber().
Referenced by Voxelize().
|
virtual |
Definition at line 1521 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1521 of file G4TessellatedSolid.cc
References G4VFacet::Distance(), DistanceToIn(), fFacets, fVoxels, G4endl, G4Exception(), G4Voxelizer::GetCountOfVoxels(), Inside(), JustWarning, G4VSolid::kCarTolerance, kInfinity, kOutside, message(), MinDistanceFacet(), mm, OutsideOfExtent(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by DistanceToOut().
|
virtual |
Definition at line 1462 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1462 of file G4TessellatedSolid.cc
References G4VFacet::Distance(), G4Voxelizer::DistanceToBoundingBox(), DistanceToOut(), fFacets, fInsides, fVoxels, G4endl, G4Exception(), G4Voxelizer::GetCandidates(), G4Voxelizer::GetCountOfVoxels(), G4SurfBits::GetNbits(), G4Voxelizer::GetPointIndex(), G4Voxelizer::GetVoxel(), Inside(), JustWarning, G4VSolid::kCarTolerance, kInfinity, kInside, message(), MinDistanceFacet(), mm, OutsideOfExtent(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by DistanceToIn().
|
private |
Definition at line 279 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 279 of file G4TessellatedSolid.cc
References fInsides, fVoxels, G4Voxelizer::GetVoxelsIndex(), G4Voxelizer::IsEmpty(), pos(), and G4SurfBits::SetBitNumber().
Referenced by PrecalculateInsides().
|
private |
Definition at line 398 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 398 of file G4TessellatedSolid.cc
References fExtremeFacets, fFacets, fVertexList, and G4VFacet::IsInside().
Referenced by SetSolidClosed().
Definition at line 307 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 307 of file G4TessellatedSolid.hh
References fVoxels, and G4Voxelizer::SetMaxVoxels().
|
private |
Definition at line 1993 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1993 of file G4TessellatedSolid.cc
References fMaxTries, and fRandir.
Referenced by Initialize().
Definition at line 566 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 566 of file G4TessellatedSolid.cc
References CreateVertexList(), DisplayAllocatedMemory(), fSolidClosed, G4cout, G4endl, SetExtremeFacets(), t, and Voxelize().
Referenced by CopyObjects(), G4GenericTrap::CreateTessellatedSolid(), G4ExtrudedSolid::MakeFacets(), and G4GDMLReadSolids::TessellatedRead().
|
virtual |
Implements G4VSolid.
Reimplemented in G4ExtrudedSolid.
Definition at line 1577 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1577 of file G4TessellatedSolid.cc
References fFacets, fGeometryType, G4endl, G4VSolid::GetName(), and G4VFacet::StreamInfo().
|
virtual |
Implements G4VSolid.
Reimplemented in G4ExtrudedSolid.
Definition at line 1632 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 1632 of file G4TessellatedSolid.cc
Referenced by G4GenericTrap::NormalToPlane(), G4GenericTrap::SurfaceNormal(), and G4ExtrudedSolid::SurfaceNormal().
|
private |
Definition at line 370 of file G4TessellatedSolid.cc.
View newest version in sPHENIX GitHub at line 370 of file G4TessellatedSolid.cc
References G4Voxelizer::Empty(), fFacets, fVoxels, G4cout, G4endl, G4SurfBits::GetNbits(), PrecalculateInsides(), and G4Voxelizer::Voxelize().
Referenced by SetSolidClosed().
|
private |
Definition at line 278 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 278 of file G4TessellatedSolid.hh
Referenced by GetCubicVolume(), and Initialize().
|
private |
Definition at line 274 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 274 of file G4TessellatedSolid.hh
Referenced by AllocatedMemoryWithoutVoxels(), DistanceToOutCore(), DistanceToOutNoVoxels(), and SetExtremeFacets().
|
private |
Definition at line 283 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 283 of file G4TessellatedSolid.hh
Referenced by AddFacet().
|
private |
Definition at line 273 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 273 of file G4TessellatedSolid.hh
Referenced by AddFacet(), AllocatedMemoryWithoutVoxels(), CreatePolyhedron(), CreateVertexList(), DeleteObjects(), DistanceToInCandidates(), DistanceToInNoVoxels(), DistanceToOutCandidates(), DistanceToOutCore(), DistanceToOutNoVoxels(), GetCubicVolume(), GetFacet(), GetNumberOfFacets(), GetPointOnSurface(), GetSurfaceArea(), InsideNoVoxels(), InsideVoxels(), MinDistanceFacet(), Normal(), SafetyFromInside(), SafetyFromOutside(), SetExtremeFacets(), StreamInfo(), and Voxelize().
|
private |
Definition at line 277 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 277 of file G4TessellatedSolid.hh
Referenced by GetEntityType(), Initialize(), InsideNoVoxels(), InsideVoxels(), and StreamInfo().
|
private |
Definition at line 295 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 295 of file G4TessellatedSolid.hh
Referenced by AllocatedMemory(), InsideVoxels(), PrecalculateInsides(), SafetyFromOutside(), and SetAllUsingStack().
|
private |
Definition at line 285 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 285 of file G4TessellatedSolid.hh
Referenced by BoundingLimits(), CreateVertexList(), G4TessellatedSolid(), GetExtent(), GetMaxXExtent(), GetMaxYExtent(), GetMaxZExtent(), Initialize(), and OutsideOfExtent().
|
private |
Definition at line 291 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 291 of file G4TessellatedSolid.hh
Referenced by InsideNoVoxels(), InsideVoxels(), and SetRandomVectors().
|
private |
Definition at line 285 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 285 of file G4TessellatedSolid.hh
Referenced by BoundingLimits(), CreateVertexList(), G4TessellatedSolid(), GetExtent(), GetMinXExtent(), GetMinYExtent(), GetMinZExtent(), Initialize(), and OutsideOfExtent().
|
mutableprivate |
Definition at line 271 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 271 of file G4TessellatedSolid.hh
Referenced by DeleteObjects(), GetPolyhedron(), and Initialize().
|
private |
Definition at line 289 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 289 of file G4TessellatedSolid.hh
Referenced by AllocatedMemoryWithoutVoxels(), InsideNoVoxels(), InsideVoxels(), and SetRandomVectors().
Definition at line 270 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 270 of file G4TessellatedSolid.hh
Referenced by GetPolyhedron(), and Initialize().
Definition at line 287 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 287 of file G4TessellatedSolid.hh
Referenced by AddFacet(), GetSolidClosed(), Initialize(), and SetSolidClosed().
|
private |
Definition at line 279 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 279 of file G4TessellatedSolid.hh
Referenced by GetSurfaceArea(), and Initialize().
|
private |
Definition at line 281 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 281 of file G4TessellatedSolid.hh
Referenced by AllocatedMemoryWithoutVoxels(), CreatePolyhedron(), CreateVertexList(), and SetExtremeFacets().
|
private |
Definition at line 293 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 293 of file G4TessellatedSolid.hh
Referenced by AllocatedMemory(), CopyObjects(), DistanceToInCore(), DistanceToOutCore(), GetVoxels(), Inside(), InsideVoxels(), MinDistanceFacet(), Normal(), PrecalculateInsides(), SafetyFromInside(), SafetyFromOutside(), SetAllUsingStack(), SetMaxVoxels(), and Voxelize().
|
protected |
Definition at line 266 of file G4TessellatedSolid.hh.
View newest version in sPHENIX GitHub at line 266 of file G4TessellatedSolid.hh
Referenced by CalculateExtent(), G4ExtrudedSolid::DistanceToIn(), DistanceToInCandidates(), DistanceToInNoVoxels(), G4ExtrudedSolid::DistanceToOut(), DistanceToOutCandidates(), DistanceToOutNoVoxels(), G4ExtrudedSolid::G4ExtrudedSolid(), Initialize(), G4ExtrudedSolid::Inside(), InsideNoVoxels(), InsideVoxels(), G4ExtrudedSolid::IsSameLine(), G4ExtrudedSolid::IsSameLineSegment(), Normal(), and G4ExtrudedSolid::SurfaceNormal().