Geant4
10.03
|
#include <G4Trd.hh>
Public Types | |
enum | ESide { kUndefined, kPX, kMX, kPY, kMY, kPZ, kMZ } |
Private Attributes | |
G4double | fDx1 |
G4double | fDx2 |
G4double | fDy1 |
G4double | fDy2 |
G4double | fDz |
Additional Inherited Members | |
Protected Member Functions inherited from G4CSGSolid | |
G4double | GetRadiusInRing (G4double rmin, G4double rmax) 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 |
Protected Attributes inherited from G4CSGSolid | |
G4double | fCubicVolume |
G4double | fSurfaceArea |
G4bool | fRebuildPolyhedron |
G4Polyhedron * | fpPolyhedron |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
enum G4Trd::ESide |
G4Trd::G4Trd | ( | const G4String & | pName, |
G4double | pdx1, | ||
G4double | pdx2, | ||
G4double | pdy1, | ||
G4double | pdy2, | ||
G4double | pdz | ||
) |
Definition at line 64 of file G4Trd.cc.
References CheckAndSetAllParameters().
Referenced by Clone().
G4ThreeVector G4Trd::ApproxSurfaceNormal | ( | const G4ThreeVector & | p | ) | const |
|
virtual |
Implements G4VSolid.
Definition at line 227 of file G4Trd.cc.
References G4BoundingEnvelope::BoundingBoxVsVoxelLimits(), G4BoundingEnvelope::CalculateExtent(), Extent(), GetXHalfLength1(), GetXHalfLength2(), GetYHalfLength1(), GetYHalfLength2(), and GetZHalfLength().
void G4Trd::CheckAndSetAllParameters | ( | G4double | pdx1, |
G4double | pdx2, | ||
G4double | pdy1, | ||
G4double | pdy2, | ||
G4double | pdz | ||
) |
Definition at line 77 of file G4Trd.cc.
References FatalException, G4CSGSolid::fCubicVolume, fDx1, fDx2, fDy1, fDy2, fDz, G4CSGSolid::fRebuildPolyhedron, G4CSGSolid::fSurfaceArea, G4endl, G4Exception(), G4VSolid::GetName(), G4VSolid::kCarTolerance, and G4INCL::Math::max().
Referenced by G4Trd(), and SetAllParameters().
|
virtual |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 185 of file G4Trd.cc.
References G4VPVParameterisation::ComputeDimensions().
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 1328 of file G4Trd.cc.
References G4VGraphicsScene::AddSolid().
|
virtual |
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 776 of file G4Trd.cc.
References G4VSolid::DumpInfo(), fDx1, fDx2, fDy1, fDy2, fDz, G4Exception(), JustWarning, G4VSolid::kCarTolerance, kInfinity, kMX, kMY, kMZ, kPX, kPY, kPZ, and kUndefined.
|
virtual |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 196 of file G4Trd.cc.
References G4VSolid::DumpInfo(), G4Exception(), G4VSolid::GetName(), GetXHalfLength1(), GetXHalfLength2(), GetYHalfLength1(), GetYHalfLength2(), GetZHalfLength(), JustWarning, and G4INCL::Math::max().
Referenced by CalculateExtent().
|
virtual |
|
virtual |
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdY::ComputeDimensions(), G4ParameterisationTrdZ::ComputeDimensions(), G4ParameterisationTrdX::ComputeTransformation(), export_G4Trd(), Extent(), G4ParameterisationTrdX::G4ParameterisationTrdX(), G4VParameterisationTrd::G4VParameterisationTrd(), G4ParameterisationTrdX::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Trd_dimensionsWrite(), and G4GDMLWriteSolids::TrdWrite().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdY::ComputeDimensions(), G4ParameterisationTrdZ::ComputeDimensions(), G4ParameterisationTrdX::ComputeTransformation(), export_G4Trd(), Extent(), G4ParameterisationTrdX::G4ParameterisationTrdX(), G4VParameterisationTrd::G4VParameterisationTrd(), G4ParameterisationTrdX::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Trd_dimensionsWrite(), and G4GDMLWriteSolids::TrdWrite().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationTrdY::CheckParametersValidity(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdZ::ComputeDimensions(), G4ParameterisationTrdY::ComputeTransformation(), export_G4Trd(), Extent(), G4ParameterisationTrdY::G4ParameterisationTrdY(), G4VParameterisationTrd::G4VParameterisationTrd(), G4ParameterisationTrdY::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Trd_dimensionsWrite(), and G4GDMLWriteSolids::TrdWrite().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationTrdY::CheckParametersValidity(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdZ::ComputeDimensions(), export_G4Trd(), Extent(), G4VParameterisationTrd::G4VParameterisationTrd(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Trd_dimensionsWrite(), and G4GDMLWriteSolids::TrdWrite().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdY::ComputeDimensions(), G4ParameterisationTrdZ::ComputeDimensions(), G4ParameterisationTrdZ::ComputeTransformation(), export_G4Trd(), Extent(), G4ParameterisationTrdZ::G4ParameterisationTrdZ(), G4VParameterisationTrd::G4VParameterisationTrd(), G4ParameterisationTrdZ::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Trd_dimensionsWrite(), and G4GDMLWriteSolids::TrdWrite().
|
virtual |
void G4Trd::SetAllParameters | ( | G4double | pdx1, |
G4double | pdx2, | ||
G4double | pdy1, | ||
G4double | pdy2, | ||
G4double | pdz | ||
) |
Definition at line 173 of file G4Trd.cc.
References CheckAndSetAllParameters().
Referenced by G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdY::ComputeDimensions(), and G4ParameterisationTrdZ::ComputeDimensions().
|
inline |
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Trd().
|
inline |
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Trd().
|
inline |
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Trd().
|
inline |
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Trd().
|
inline |
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Trd().
|
virtual |
Reimplemented from G4CSGSolid.
Definition at line 1238 of file G4Trd.cc.
References fDx1, fDx2, fDy1, fDy2, fDz, G4VSolid::GetName(), and mm.
|
virtual |
Implements G4VSolid.
Definition at line 341 of file G4Trd.cc.
References ApproxSurfaceNormal(), fcos(), fDx1, fDx2, fDy1, fDy2, fDz, G4Exception(), JustWarning, and G4VSolid::kCarTolerance.
|
private |
Definition at line 177 of file G4Trd.hh.
Referenced by ApproxSurfaceNormal(), CheckAndSetAllParameters(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 177 of file G4Trd.hh.
Referenced by ApproxSurfaceNormal(), CheckAndSetAllParameters(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 177 of file G4Trd.hh.
Referenced by ApproxSurfaceNormal(), CheckAndSetAllParameters(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 177 of file G4Trd.hh.
Referenced by ApproxSurfaceNormal(), CheckAndSetAllParameters(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 177 of file G4Trd.hh.
Referenced by ApproxSurfaceNormal(), CheckAndSetAllParameters(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().