Geant4
10.01.p01
|
#include <G4USolid.hh>
Protected Member Functions | |
G4ThreeVectorList * | CreateRotatedVertices (const G4AffineTransform &pT) 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 | |
VUSolid * | fShape |
G4bool | fRebuildPolyhedron |
G4Polyhedron * | fPolyhedron |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
Definition at line 46 of file G4USolid.hh.
Definition at line 51 of file G4USolid.cc.
Referenced by G4UMultiUnion::GetSolid().
|
virtual |
Definition at line 61 of file G4USolid.cc.
References fPolyhedron.
G4USolid::G4USolid | ( | __void__ & | a | ) |
Definition at line 56 of file G4USolid.cc.
G4USolid::G4USolid | ( | const G4USolid & | rhs | ) |
Definition at line 366 of file G4USolid.cc.
References VUSolid::Clone(), and fShape.
|
virtual |
Implements G4VSolid.
Definition at line 183 of file G4USolid.cc.
References G4VSolid::ClipBetweenSections(), G4VSolid::ClipCrossSection(), CreateRotatedVertices(), VUSolid::eXaxis, VUSolid::ExtentAxis(), VUSolid::eYaxis, VUSolid::eZaxis, fShape, G4VoxelLimits::GetMaxExtent(), G4VoxelLimits::GetMaxXExtent(), G4VoxelLimits::GetMaxYExtent(), G4VoxelLimits::GetMaxZExtent(), G4VoxelLimits::GetMinExtent(), G4VoxelLimits::GetMinXExtent(), G4VoxelLimits::GetMinYExtent(), G4VoxelLimits::GetMinZExtent(), Inside(), G4AffineTransform::Inverse(), G4VoxelLimits::IsLimited(), G4AffineTransform::IsRotated(), G4VSolid::kCarTolerance, kInfinity, kOutside, kXAxis, kYAxis, kZAxis, G4INCL::Math::max(), G4INCL::Math::min(), G4AffineTransform::NetTranslation(), and G4AffineTransform::TransformPoint().
Referenced by GetExtent().
|
virtual |
Reimplemented from G4VSolid.
Reimplemented in G4UTrap, G4UPolyhedra, G4UPolycone, G4UTubs, G4UCons, G4USphere, G4UTrd, G4UBox, and G4UOrb.
Definition at line 394 of file G4USolid.cc.
References G4endl, G4Exception(), GetEntityType(), and JustWarning.
|
virtual |
Reimplemented from G4VSolid.
Reimplemented in G4UTrap, G4UPolyhedra, G4UPolycone, G4UTubs, G4UCons, G4USphere, G4UTrd, G4UBox, and G4UOrb.
Definition at line 338 of file G4USolid.cc.
References FatalException, G4endl, and G4Exception().
|
virtual |
Reimplemented from G4VSolid.
Reimplemented in G4UTrap, G4UPolyhedra, G4UPolycone, G4UGenericTrap, G4UGenericPolycone, and G4UMultiUnion.
Definition at line 445 of file G4USolid.cc.
References fShape, VUSolid::GetEntityType(), VUSolid::GetParametersList(), and G4INCL::Math::pi.
Referenced by GetPolyhedron().
|
protected |
Definition at line 405 of file G4USolid.cc.
References VUSolid::eXaxis, VUSolid::ExtentAxis(), VUSolid::eYaxis, VUSolid::eZaxis, FatalException, fShape, G4Exception(), and G4AffineTransform::TransformPoint().
Referenced by CalculateExtent().
|
virtual |
Implements G4VSolid.
Definition at line 349 of file G4USolid.cc.
References G4VGraphicsScene::AddSolid().
|
virtual |
Implements G4VSolid.
Definition at line 99 of file G4USolid.cc.
References VUSolid::DistanceToIn(), fShape, kInfinity, UVector3::x, UVector3::y, and UVector3::z.
|
virtual |
Implements G4VSolid.
Definition at line 115 of file G4USolid.cc.
References fShape, kInfinity, VUSolid::SafetyFromOutside(), UVector3::x, UVector3::y, and UVector3::z.
|
virtual |
Implements G4VSolid.
Definition at line 126 of file G4USolid.cc.
References VUSolid::DistanceToOut(), fShape, kInfinity, n, UVector3::x, UVector3::y, and UVector3::z.
|
virtual |
Implements G4VSolid.
Definition at line 157 of file G4USolid.cc.
References fShape, VUSolid::SafetyFromInside(), UVector3::x, UVector3::y, and UVector3::z.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 166 of file G4USolid.cc.
References VUSolid::Capacity(), and fShape.
|
virtual |
Implements G4VSolid.
Definition at line 354 of file G4USolid.cc.
References fShape, and VUSolid::GetEntityType().
Referenced by Clone().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 568 of file G4USolid.cc.
References CalculateExtent(), kXAxis, kYAxis, kZAxis, G4VisExtent::SetXmax(), G4VisExtent::SetXmin(), G4VisExtent::SetYmax(), G4VisExtent::SetYmin(), G4VisExtent::SetZmax(), and G4VisExtent::SetZmin().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 176 of file G4USolid.cc.
References fShape, VUSolid::GetPointOnSurface(), UVector3::x, UVector3::y, and UVector3::z.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 552 of file G4USolid.cc.
References CreatePolyhedron(), fPolyhedron, fRebuildPolyhedron, G4Polyhedron::GetNumberOfRotationStepsAtTimeOfCreation(), and G4TemplateAutoLock< M, L, U >::unlock().
|
inline |
Definition at line 171 of file G4USolid.hh.
References fShape.
Referenced by G4UMultiUnion::AddNode(), and G4UMultiUnion::CreatePolyhedron().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 171 of file G4USolid.cc.
References fShape, and VUSolid::SurfaceArea().
|
virtual |
Implements G4VSolid.
Definition at line 71 of file G4USolid.cc.
References VUSolid::eInside, VUSolid::eSurface, fShape, VUSolid::Inside(), kInside, kOutside, kSurface, UVector3::x, UVector3::y, and UVector3::z.
Referenced by CalculateExtent().
Definition at line 372 of file G4USolid.cc.
References VUSolid::Clone(), fPolyhedron, fRebuildPolyhedron, fShape, and G4VSolid::operator=().
Referenced by G4UOrb::operator=(), G4UTet::operator=(), G4UMultiUnion::operator=(), G4UGenericPolycone::operator=(), G4UGenericTrap::operator=(), G4UBox::operator=(), G4UTubs::operator=(), G4USphere::operator=(), G4UTrd::operator=(), G4UCons::operator=(), G4UExtrudedSolid::operator=(), G4UPolycone::operator=(), G4UPolyhedra::operator=(), and G4UTrap::operator=().
Definition at line 66 of file G4USolid.cc.
|
virtual |
Implements G4VSolid.
Definition at line 361 of file G4USolid.cc.
References fShape, and VUSolid::StreamInfo().
|
virtual |
Implements G4VSolid.
Definition at line 88 of file G4USolid.cc.
References fShape, n, VUSolid::Normal(), UVector3::x, UVector3::y, and UVector3::z.
|
mutableprotected |
Definition at line 184 of file G4USolid.hh.
Referenced by GetPolyhedron(), operator=(), and ~G4USolid().
|
mutableprotected |
Definition at line 183 of file G4USolid.hh.
Referenced by GetPolyhedron(), operator=(), G4UTrd::SetAllParameters(), G4UTrap::SetAllParameters(), G4USphere::SetDeltaPhiAngle(), G4UTubs::SetDeltaPhiAngle(), G4UCons::SetDeltaPhiAngle(), G4USphere::SetDeltaThetaAngle(), G4USphere::SetInnerRadius(), G4UTubs::SetInnerRadius(), G4UCons::SetInnerRadiusMinusZ(), G4UCons::SetInnerRadiusPlusZ(), G4UPolycone::SetOriginalParameters(), G4UPolyhedra::SetOriginalParameters(), G4USphere::SetOuterRadius(), G4UTubs::SetOuterRadius(), G4UCons::SetOuterRadiusMinusZ(), G4UCons::SetOuterRadiusPlusZ(), G4UTrap::SetPlanes(), G4UOrb::SetRadius(), G4USphere::SetStartPhiAngle(), G4UTubs::SetStartPhiAngle(), G4UCons::SetStartPhiAngle(), G4USphere::SetStartThetaAngle(), G4UBox::SetXHalfLength(), G4UTrd::SetXHalfLength1(), G4UTrd::SetXHalfLength2(), G4UBox::SetYHalfLength(), G4UTrd::SetYHalfLength1(), G4UTrd::SetYHalfLength2(), G4UBox::SetZHalfLength(), G4UTrd::SetZHalfLength(), G4UTubs::SetZHalfLength(), and G4UCons::SetZHalfLength().
|
protected |
Definition at line 182 of file G4USolid.hh.
Referenced by CalculateExtent(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), G4USolid(), GetCubicVolume(), GetEntityType(), GetPointOnSurface(), G4UMultiUnion::GetShape(), G4UGenericTrap::GetShape(), G4UOrb::GetShape(), G4UGenericPolycone::GetShape(), G4UBox::GetShape(), G4UTet::GetShape(), G4UTrd::GetShape(), G4USphere::GetShape(), G4UCons::GetShape(), G4UTubs::GetShape(), G4UPolycone::GetShape(), G4UExtrudedSolid::GetShape(), G4UPolyhedra::GetShape(), G4UTrap::GetShape(), GetSolid(), GetSurfaceArea(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().