Geant4.10
|
#include <G4GenericTrap.hh>
Protected Attributes | |
G4Polyhedron * | fpPolyhedron |
![]() | |
G4double | kCarTolerance |
Additional Inherited Members | |
![]() | |
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 |
Definition at line 79 of file G4GenericTrap.hh.
G4GenericTrap::G4GenericTrap | ( | const G4String & | name, |
G4double | halfZ, | ||
const std::vector< G4TwoVector > & | vertices | ||
) |
Definition at line 66 of file G4GenericTrap.cc.
References FatalErrorInArgument, G4endl, G4Exception(), JustWarning, and G4VSolid::kCarTolerance.
Referenced by Clone().
G4GenericTrap::~G4GenericTrap | ( | ) |
Definition at line 181 of file G4GenericTrap.cc.
G4GenericTrap::G4GenericTrap | ( | __void__ & | a | ) |
Definition at line 159 of file G4GenericTrap.cc.
G4GenericTrap::G4GenericTrap | ( | const G4GenericTrap & | rhs | ) |
Definition at line 189 of file G4GenericTrap.cc.
|
virtual |
Implements G4VSolid.
Definition at line 1193 of file G4GenericTrap.cc.
References G4TessellatedSolid::CalculateExtent(), G4VSolid::ClipBetweenSections(), G4VSolid::ClipCrossSection(), G4VoxelLimits::GetMaxExtent(), G4VoxelLimits::GetMaxXExtent(), G4VoxelLimits::GetMaxYExtent(), G4VoxelLimits::GetMaxZExtent(), G4VoxelLimits::GetMinExtent(), G4VoxelLimits::GetMinXExtent(), G4VoxelLimits::GetMinYExtent(), G4VoxelLimits::GetMinZExtent(), Inside(), G4AffineTransform::Inverse(), G4AffineTransform::IsRotated(), G4VoxelLimits::IsXLimited(), G4VoxelLimits::IsYLimited(), G4VoxelLimits::IsZLimited(), G4VSolid::kCarTolerance, kOutside, kXAxis, kYAxis, kZAxis, G4AffineTransform::NetTranslation(), G4AffineTransform::TransformPoint(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1420 of file G4GenericTrap.cc.
References G4GenericTrap().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 2147 of file G4GenericTrap.cc.
References G4PolyhedronArbitrary::AddFacet(), G4PolyhedronArbitrary::AddVertex(), G4TessellatedSolid::CreatePolyhedron(), GetTwistAngle(), GetVisSubdivisions(), G4PolyhedronArbitrary::InvertFacets(), G4PolyhedronArbitrary::SetReferences(), test::x, CLHEP::Hep2Vector::x(), CLHEP::Hep3Vector::x(), CLHEP::Hep2Vector::y(), and CLHEP::Hep3Vector::y().
Referenced by GetPolyhedron().
|
virtual |
Implements G4VSolid.
Definition at line 2110 of file G4GenericTrap.cc.
References G4VGraphicsScene::AddSolid(), and G4TessellatedSolid::DescribeYourselfTo().
|
virtual |
Implements G4VSolid.
Definition at line 749 of file G4GenericTrap.cc.
References G4TessellatedSolid::DistanceToIn(), CLHEP::Hep3Vector::dot(), Inside(), kOutside, n, test::v, and CLHEP::Hep3Vector::z().
|
virtual |
Implements G4VSolid.
Definition at line 817 of file G4GenericTrap.cc.
References G4TessellatedSolid::DistanceToIn(), and CLHEP::Hep3Vector::z().
|
virtual |
Implements G4VSolid.
Definition at line 921 of file G4GenericTrap.cc.
References test::b, test::c, G4TessellatedSolid::DistanceToOut(), CLHEP::Hep3Vector::dot(), G4VSolid::DumpInfo(), G4endl, G4Exception(), JustWarning, G4VSolid::kCarTolerance, kOutside, python.hepunit::mm, test::v, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
virtual |
Implements G4VSolid.
Definition at line 1166 of file G4GenericTrap.cc.
References G4TessellatedSolid::DistanceToOut(), and CLHEP::Hep3Vector::z().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1538 of file G4GenericTrap.cc.
References G4VSolid::GetCubicVolume().
|
virtual |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 2125 of file G4GenericTrap.cc.
References G4TessellatedSolid::GetExtent(), CLHEP::Hep3Vector::x(), and CLHEP::Hep3Vector::y().
|
inline |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1450 of file G4GenericTrap.cc.
References G4UniformRand, G4TessellatedSolid::GetPointOnSurface(), test::v, test::x, CLHEP::Hep2Vector::x(), and CLHEP::Hep2Vector::y().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 2088 of file G4GenericTrap.cc.
References CreatePolyhedron(), fpPolyhedron, HepPolyhedron::GetNumberOfRotationSteps(), G4Polyhedron::GetNumberOfRotationStepsAtTimeOfCreation(), and G4TessellatedSolid::GetPolyhedron().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1547 of file G4GenericTrap.cc.
References G4VSolid::GetSurfaceArea(), and test::x.
Referenced by CreatePolyhedron(), and SurfaceNormal().
|
inline |
|
inline |
Referenced by G4GDMLWriteSolids::GenTrapWrite().
|
inline |
Referenced by CreatePolyhedron().
|
inline |
Referenced by G4GDMLWriteSolids::GenTrapWrite().
|
virtual |
Implements G4VSolid.
Definition at line 339 of file G4GenericTrap.cc.
References G4TessellatedSolid::Inside(), kInside, kOutside, kSurface, and CLHEP::Hep3Vector::z().
Referenced by CalculateExtent(), and DistanceToIn().
|
inline |
G4GenericTrap & G4GenericTrap::operator= | ( | const G4GenericTrap & | rhs | ) |
Definition at line 207 of file G4GenericTrap.cc.
References fpPolyhedron, and G4VSolid::operator=().
|
virtual |
Implements G4VSolid.
Definition at line 1427 of file G4GenericTrap.cc.
References G4endl, GetEntityType(), G4VSolid::GetName(), and python.hepunit::mm.
|
virtual |
Implements G4VSolid.
Definition at line 375 of file G4GenericTrap.cc.
References CLHEP::Hep3Vector::cross(), G4Exception(), GetTwistAngle(), JustWarning, G4VSolid::kCarTolerance, G4TessellatedSolid::SurfaceNormal(), CLHEP::Hep3Vector::unit(), test::x, and CLHEP::Hep3Vector::z().
|
mutableprotected |
Definition at line 191 of file G4GenericTrap.hh.
Referenced by GetPolyhedron(), and operator=().