Geant4
10.02.p02
|
#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 59 of file G4Trd.cc.
References CheckAndSetAllParameters().
Referenced by Clone().
G4ThreeVector G4Trd::ApproxSurfaceNormal | ( | const G4ThreeVector & | p | ) | const |
|
virtual |
Implements G4VSolid.
Definition at line 192 of file G4Trd.cc.
References G4VSolid::ClipBetweenSections(), G4VSolid::ClipCrossSection(), CreateRotatedVertices(), fDx1, fDx2, fDy1, fDy2, fDz, 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, kInfinity, kOutside, kXAxis, kYAxis, kZAxis, G4AffineTransform::NetTranslation(), and G4AffineTransform::TransformPoint().
void G4Trd::CheckAndSetAllParameters | ( | G4double | pdx1, |
G4double | pdx2, | ||
G4double | pdy1, | ||
G4double | pdy2, | ||
G4double | pdz | ||
) |
Definition at line 72 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 180 of file G4Trd.cc.
References G4VPVParameterisation::ComputeDimensions().
|
virtual |
G4ThreeVectorList * G4Trd::CreateRotatedVertices | ( | const G4AffineTransform & | pTransform | ) | const |
Definition at line 1318 of file G4Trd.cc.
References G4VSolid::DumpInfo(), FatalException, fDx1, fDx2, fDy1, fDy2, fDz, G4Exception(), and G4AffineTransform::TransformPoint().
Referenced by CalculateExtent().
|
virtual |
Implements G4VSolid.
Definition at line 1465 of file G4Trd.cc.
References G4VGraphicsScene::AddSolid().
|
virtual |
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 868 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 |
|
virtual |
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdY::ComputeDimensions(), G4ParameterisationTrdZ::ComputeDimensions(), G4ParameterisationTrdX::ComputeTransformation(), export_G4Trd(), G4ParameterisationTrdX::G4ParameterisationTrdX(), G4VParameterisationTrd::G4VParameterisationTrd(), G4ParameterisationTrdX::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Trd_dimensionsWrite(), and G4GDMLWriteSolids::TrdWrite().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdY::ComputeDimensions(), G4ParameterisationTrdZ::ComputeDimensions(), G4ParameterisationTrdX::ComputeTransformation(), export_G4Trd(), G4ParameterisationTrdX::G4ParameterisationTrdX(), G4VParameterisationTrd::G4VParameterisationTrd(), G4ParameterisationTrdX::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Trd_dimensionsWrite(), and G4GDMLWriteSolids::TrdWrite().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), G4ParameterisationTrdY::CheckParametersValidity(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdZ::ComputeDimensions(), G4ParameterisationTrdY::ComputeTransformation(), export_G4Trd(), G4ParameterisationTrdY::G4ParameterisationTrdY(), G4VParameterisationTrd::G4VParameterisationTrd(), G4ParameterisationTrdY::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Trd_dimensionsWrite(), and G4GDMLWriteSolids::TrdWrite().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), G4ParameterisationTrdY::CheckParametersValidity(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdZ::ComputeDimensions(), export_G4Trd(), G4VParameterisationTrd::G4VParameterisationTrd(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Trd_dimensionsWrite(), and G4GDMLWriteSolids::TrdWrite().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), G4ParameterisationTrdX::ComputeDimensions(), G4ParameterisationTrdY::ComputeDimensions(), G4ParameterisationTrdZ::ComputeDimensions(), G4ParameterisationTrdZ::ComputeTransformation(), export_G4Trd(), G4ParameterisationTrdZ::G4ParameterisationTrdZ(), G4VParameterisationTrd::G4VParameterisationTrd(), G4ParameterisationTrdZ::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Trd_dimensionsWrite(), and G4GDMLWriteSolids::TrdWrite().
|
virtual |
Implements G4VSolid.
Definition at line 370 of file G4Trd.cc.
References fDx1, fDx2, fDy1, fDy2, fDz, G4VSolid::kCarTolerance, kInside, kOutside, kSurface, and x.
Referenced by CalculateExtent(), and DistanceToOut().
void G4Trd::SetAllParameters | ( | G4double | pdx1, |
G4double | pdx2, | ||
G4double | pdy1, | ||
G4double | pdy2, | ||
G4double | pdz | ||
) |
Definition at line 168 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 1375 of file G4Trd.cc.
References fDx1, fDx2, fDy1, fDy2, fDz, G4VSolid::GetName(), and mm.
|
virtual |
Implements G4VSolid.
Definition at line 433 of file G4Trd.cc.
References ApproxSurfaceNormal(), fcos(), fDx1, fDx2, fDy1, fDy2, fDz, G4Exception(), JustWarning, G4VSolid::kCarTolerance, and z.
|
private |
Definition at line 181 of file G4Trd.hh.
Referenced by ApproxSurfaceNormal(), CalculateExtent(), CheckAndSetAllParameters(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 181 of file G4Trd.hh.
Referenced by ApproxSurfaceNormal(), CalculateExtent(), CheckAndSetAllParameters(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 181 of file G4Trd.hh.
Referenced by ApproxSurfaceNormal(), CalculateExtent(), CheckAndSetAllParameters(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 181 of file G4Trd.hh.
Referenced by ApproxSurfaceNormal(), CalculateExtent(), CheckAndSetAllParameters(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 181 of file G4Trd.hh.
Referenced by ApproxSurfaceNormal(), CalculateExtent(), CheckAndSetAllParameters(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().