Geant4
10.01.p03
|
#include <G4Polycone.hh>
Protected Member Functions | |
G4bool | SetOriginalParameters (G4ReduciblePolygon *rz) |
void | Create (G4double phiStart, G4double phiTotal, G4ReduciblePolygon *rz) |
void | CopyStuff (const G4Polycone &source) |
G4ThreeVector | GetPointOnCone (G4double fRmin1, G4double fRmax1, G4double fRmin2, G4double fRmax2, G4double zOne, G4double zTwo, G4double &totArea) const |
G4ThreeVector | GetPointOnTubs (G4double fRMin, G4double fRMax, G4double zOne, G4double zTwo, G4double &totArea) const |
G4ThreeVector | GetPointOnCut (G4double fRMin1, G4double fRMax1, G4double fRMin2, G4double fRMax2, G4double zOne, G4double zTwo, G4double &totArea) const |
G4ThreeVector | GetPointOnRing (G4double fRMin, G4double fRMax, G4double fRMin2, G4double fRMax2, G4double zOne) const |
Protected Member Functions inherited from G4VCSGfaceted | |
virtual G4double | DistanceTo (const G4ThreeVector &p, const G4bool outgoing) const |
G4ThreeVector | GetPointOnSurfaceGeneric () const |
void | CopyStuff (const G4VCSGfaceted &source) |
void | DeleteStuff () |
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 | |
G4double | startPhi |
G4double | endPhi |
G4bool | phiIsOpen |
G4int | numCorner |
G4PolyconeSideRZ * | corners |
G4PolyconeHistorical * | original_parameters |
G4EnclosingCylinder * | enclosingCylinder |
Protected Attributes inherited from G4VCSGfaceted | |
G4int | numFace |
G4VCSGface ** | faces |
G4double | fCubicVolume |
G4double | fSurfaceArea |
G4bool | fRebuildPolyhedron |
G4Polyhedron * | fpPolyhedron |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
Definition at line 82 of file G4Polycone.hh.
G4Polycone::G4Polycone | ( | const G4String & | name, |
G4double | phiStart, | ||
G4double | phiTotal, | ||
G4int | numZPlanes, | ||
const G4double | zPlane[], | ||
const G4double | rInner[], | ||
const G4double | rOuter[] | ||
) |
Definition at line 58 of file G4Polycone.cc.
References Create(), G4VSolid::DumpInfo(), FatalErrorInArgument, G4endl, G4Exception(), G4PolyconeHistorical::Num_z_planes, G4PolyconeHistorical::Opening_angle, original_parameters, G4PolyconeHistorical::Rmax, G4PolyconeHistorical::Rmin, G4PolyconeHistorical::Start_angle, and G4PolyconeHistorical::Z_values.
Referenced by Clone().
G4Polycone::G4Polycone | ( | const G4String & | name, |
G4double | phiStart, | ||
G4double | phiTotal, | ||
G4int | numRZ, | ||
const G4double | r[], | ||
const G4double | z[] | ||
) |
Definition at line 135 of file G4Polycone.cc.
References Create(), FatalException, G4cout, G4endl, G4Exception(), G4VSolid::GetName(), and SetOriginalParameters().
|
virtual |
Definition at line 356 of file G4Polycone.cc.
References corners, enclosingCylinder, and original_parameters.
G4Polycone::G4Polycone | ( | __void__ & | a | ) |
Definition at line 345 of file G4Polycone.cc.
G4Polycone::G4Polycone | ( | const G4Polycone & | source | ) |
Definition at line 367 of file G4Polycone.cc.
References CopyStuff().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 538 of file G4Polycone.cc.
References G4Polycone().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 520 of file G4Polycone.cc.
References G4VPVParameterisation::ComputeDimensions().
|
protected |
Definition at line 397 of file G4Polycone.cc.
References corners, enclosingCylinder, endPhi, G4VCSGfaceted::fpPolyhedron, G4VCSGfaceted::fRebuildPolyhedron, numCorner, original_parameters, phiIsOpen, and startPhi.
Referenced by G4Polycone(), and operator=().
|
protected |
Definition at line 176 of file G4Polycone.cc.
References G4ReduciblePolygon::Amin(), G4ReduciblePolygon::Area(), G4ReduciblePolygonIterator::Begin(), G4ReduciblePolygon::BisectedBy(), corners, G4ReduciblePolygon::CrossesItself(), enclosingCylinder, endPhi, G4VCSGfaceted::faces, FatalErrorInArgument, G4endl, G4Exception(), G4ReduciblePolygonIterator::GetA(), G4ReduciblePolygonIterator::GetB(), G4VSolid::GetName(), G4VSolid::kCarTolerance, kInfinity, G4ReduciblePolygonIterator::Next(), numCorner, G4VCSGfaceted::numFace, G4ReduciblePolygon::NumVertices(), phiIsOpen, G4PolyconeSideRZ::r, G4ReduciblePolygon::RemoveDuplicateVertices(), G4ReduciblePolygon::RemoveRedundantVertices(), G4ReduciblePolygon::ReverseOrder(), startPhi, and G4PolyconeSideRZ::z.
Referenced by G4Polycone(), and Reset().
|
virtual |
Implements G4VCSGfaceted.
Definition at line 900 of file G4Polycone.cc.
References G4PolyconeHistorical::Num_z_planes, G4PolyconeHistorical::Opening_angle, original_parameters, G4PolyconeHistorical::Rmax, G4PolyconeHistorical::Rmin, G4PolyconeHistorical::Start_angle, and G4PolyconeHistorical::Z_values.
|
virtual |
Reimplemented from G4VCSGfaceted.
Definition at line 492 of file G4Polycone.cc.
References G4VCSGfaceted::DistanceToIn(), enclosingCylinder, kInfinity, and G4EnclosingCylinder::ShouldMiss().
|
virtual |
Reimplemented from G4VCSGfaceted.
Definition at line 511 of file G4Polycone.cc.
References G4VCSGfaceted::DistanceToIn().
|
inline |
|
inline |
Referenced by G4tgbVolume::BuildSolidForDivision(), export_G4Polycone(), G4ParameterisationPolyconePhi::G4ParameterisationPolyconePhi(), G4VParameterisationPolycone::G4VParameterisationPolycone(), and G4ParameterisationPolyconePhi::GetMaxParameter().
|
virtual |
Reimplemented from G4VCSGfaceted.
Definition at line 530 of file G4Polycone.cc.
|
inline |
Referenced by export_G4Polycone(), and G4tgbGeometryDumper::GetSolidParams().
|
inline |
Referenced by G4tgbVolume::BuildSolidForDivision(), G4ParameterisationPolyconeRho::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationPolyconePhi::ComputeDimensions(), G4ParameterisationPolyconeRho::G4ParameterisationPolyconeRho(), G4VParameterisationPolycone::G4VParameterisationPolycone(), G4ParameterisationPolyconeRho::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Polycone_dimensionsWrite(), and G4GDMLWriteSolids::PolyconeWrite().
|
protected |
Definition at line 598 of file G4Polycone.cc.
References endPhi, G4INCL::DeJongSpin::shoot(), sqr(), and startPhi.
Referenced by GetPointOnCut().
|
protected |
Definition at line 793 of file G4Polycone.cc.
References GetPointOnCone(), GetPointOnRing(), and GetPointOnTubs().
Referenced by GetPointOnSurface().
|
protected |
Definition at line 750 of file G4Polycone.cc.
References endPhi, G4INCL::DeJongSpin::shoot(), and startPhi.
Referenced by GetPointOnCut().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 812 of file G4Polycone.cc.
References endPhi, GetPointOnCut(), G4PolyconeHistorical::Num_z_planes, original_parameters, G4INCL::Math::pi, G4PolyconeHistorical::Rmax, G4PolyconeHistorical::Rmin, G4INCL::DeJongSpin::shoot(), sqr(), startPhi, and G4PolyconeHistorical::Z_values.
|
protected |
Definition at line 691 of file G4Polycone.cc.
References endPhi, G4INCL::DeJongSpin::shoot(), and startPhi.
Referenced by GetPointOnCut().
|
inline |
Referenced by G4tgbVolume::BuildSolidForDivision(), export_G4Polycone(), G4ParameterisationPolyconePhi::G4ParameterisationPolyconePhi(), G4VParameterisationPolycone::G4VParameterisationPolycone(), G4ParameterisationPolyconePhi::GetMaxParameter(), and G4tgbGeometryDumper::GetSolidParams().
|
virtual |
Reimplemented from G4VCSGfaceted.
Definition at line 472 of file G4Polycone.cc.
References enclosingCylinder, G4VCSGfaceted::Inside(), kOutside, and G4EnclosingCylinder::MustBeOutside().
|
inline |
G4Polycone & G4Polycone::operator= | ( | const G4Polycone & | source | ) |
Definition at line 377 of file G4Polycone.cc.
References CopyStuff(), corners, enclosingCylinder, G4VCSGfaceted::operator=(), and original_parameters.
G4bool G4Polycone::Reset | ( | ) |
Definition at line 441 of file G4Polycone.cc.
References corners, Create(), G4VCSGfaceted::DeleteStuff(), enclosingCylinder, G4PolyconeHistorical::Num_z_planes, G4PolyconeHistorical::Opening_angle, original_parameters, G4PolyconeHistorical::Rmax, G4PolyconeHistorical::Rmin, G4PolyconeHistorical::Start_angle, and G4PolyconeHistorical::Z_values.
Referenced by G4ParameterisationPolyconeRho::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationPolyconePhi::ComputeDimensions(), and G4ParameterisationPolyconeZ::ComputeDimensions().
|
inline |
Referenced by G4ParameterisationPolyconeRho::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationPolyconePhi::ComputeDimensions(), G4ParameterisationPolyconeZ::ComputeDimensions(), and G4Polycone().
|
protected |
Definition at line 914 of file G4Polycone.cc.
References G4ReduciblePolygon::Bmax(), corners, endPhi, G4endl, G4Exception(), G4VSolid::GetName(), JustWarning, G4VSolid::kCarTolerance, G4PolyconeHistorical::Num_z_planes, numCorner, G4PolyconeHistorical::Opening_angle, original_parameters, G4PolyconeSideRZ::r, G4PolyconeHistorical::Rmax, G4PolyconeHistorical::Rmin, G4PolyconeHistorical::Start_angle, startPhi, G4ReduciblePolygon::StartWithZMin(), z, G4PolyconeSideRZ::z, and G4PolyconeHistorical::Z_values.
|
virtual |
Reimplemented from G4VCSGfaceted.
Definition at line 546 of file G4Polycone.cc.
References corners, degree, endPhi, G4VSolid::GetName(), G4PolyconeHistorical::Num_z_planes, numCorner, original_parameters, G4PolyconeSideRZ::r, G4PolyconeHistorical::Rmax, G4PolyconeHistorical::Rmin, startPhi, G4PolyconeSideRZ::z, and G4PolyconeHistorical::Z_values.
|
protected |
Definition at line 187 of file G4Polycone.hh.
Referenced by CopyStuff(), Create(), operator=(), Reset(), SetOriginalParameters(), StreamInfo(), and ~G4Polycone().
|
protected |
Definition at line 192 of file G4Polycone.hh.
Referenced by CopyStuff(), Create(), DistanceToIn(), Inside(), operator=(), Reset(), and ~G4Polycone().
|
protected |
Definition at line 184 of file G4Polycone.hh.
Referenced by CopyStuff(), Create(), GetPointOnCone(), GetPointOnRing(), GetPointOnSurface(), GetPointOnTubs(), SetOriginalParameters(), and StreamInfo().
|
protected |
Definition at line 186 of file G4Polycone.hh.
Referenced by CopyStuff(), Create(), SetOriginalParameters(), and StreamInfo().
|
protected |
Definition at line 188 of file G4Polycone.hh.
Referenced by CopyStuff(), CreatePolyhedron(), G4Polycone(), GetPointOnSurface(), operator=(), Reset(), SetOriginalParameters(), StreamInfo(), and ~G4Polycone().
|
protected |
Definition at line 185 of file G4Polycone.hh.
Referenced by CopyStuff(), and Create().
|
protected |
Definition at line 183 of file G4Polycone.hh.
Referenced by CopyStuff(), Create(), GetPointOnCone(), GetPointOnRing(), GetPointOnSurface(), GetPointOnTubs(), SetOriginalParameters(), and StreamInfo().