Geant4
10.03
|
#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 |
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 63 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 140 of file G4Polycone.cc.
References Create(), FatalException, G4cout, G4endl, G4Exception(), G4VSolid::GetName(), and SetOriginalParameters().
|
virtual |
Definition at line 362 of file G4Polycone.cc.
References corners, enclosingCylinder, and original_parameters.
G4Polycone::G4Polycone | ( | __void__ & | a | ) |
Definition at line 351 of file G4Polycone.cc.
G4Polycone::G4Polycone | ( | const G4Polycone & | source | ) |
Definition at line 373 of file G4Polycone.cc.
References CopyStuff().
|
virtual |
Reimplemented from G4VCSGfaceted.
Definition at line 574 of file G4Polycone.cc.
References G4BoundingEnvelope::BoundingBoxVsVoxelLimits(), G4BoundingEnvelope::CalculateExtent(), deg, emax, Extent(), G4Exception(), GetCorner(), GetCosEndPhi(), GetCosStartPhi(), GetEndPhi(), G4VoxelLimits::GetMaxExtent(), G4VoxelLimits::GetMinExtent(), G4VSolid::GetName(), GetNumRZCorner(), GetSinEndPhi(), GetSinStartPhi(), GetStartPhi(), IsOpen(), JustWarning, G4VSolid::kCarTolerance, kInfinity, G4GeomTools::PolygonArea(), G4PolyconeSideRZ::r, G4GeomTools::RemoveRedundantVertices(), reverse, G4GeomTools::TriangulatePolygon(), twopi, G4PolyconeSideRZ::z, and G4InuclParticleNames::z0.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 722 of file G4Polycone.cc.
References G4Polycone().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 704 of file G4Polycone.cc.
References G4VPVParameterisation::ComputeDimensions().
|
protected |
Definition at line 403 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 181 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, twopi, and G4PolyconeSideRZ::z.
Referenced by G4Polycone(), and Reset().
|
virtual |
Implements G4VCSGfaceted.
Definition at line 1086 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 498 of file G4Polycone.cc.
References G4VCSGfaceted::DistanceToIn(), enclosingCylinder, kInfinity, and G4EnclosingCylinder::ShouldMiss().
|
virtual |
Reimplemented from G4VCSGfaceted.
Definition at line 517 of file G4Polycone.cc.
References G4VCSGfaceted::DistanceToIn().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 526 of file G4Polycone.cc.
References G4GeomTools::DiskExtent(), G4VSolid::DumpInfo(), G4Exception(), GetCorner(), GetCosEndPhi(), GetCosStartPhi(), G4VSolid::GetName(), GetNumRZCorner(), GetSinEndPhi(), GetSinStartPhi(), IsOpen(), JustWarning, kInfinity, G4PolyconeSideRZ::r, and G4PolyconeSideRZ::z.
Referenced by CalculateExtent().
|
inline |
Referenced by CalculateExtent(), Extent(), and G4tgbGeometryDumper::GetSolidParams().
|
inline |
|
inline |
|
inline |
Referenced by G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), export_G4Polycone(), G4ParameterisationPolyconePhi::G4ParameterisationPolyconePhi(), G4VParameterisationPolycone::G4VParameterisationPolycone(), and G4ParameterisationPolyconePhi::GetMaxParameter().
|
virtual |
Reimplemented from G4VCSGfaceted.
Definition at line 714 of file G4Polycone.cc.
|
inline |
Referenced by CalculateExtent(), export_G4Polycone(), Extent(), 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 782 of file G4Polycone.cc.
References endPhi, G4INCL::DeJongSpin::shoot(), sqr(), startPhi, and twopi.
Referenced by GetPointOnCut().
|
protected |
Definition at line 979 of file G4Polycone.cc.
References GetPointOnCone(), GetPointOnRing(), and GetPointOnTubs().
Referenced by GetPointOnSurface().
|
protected |
Definition at line 936 of file G4Polycone.cc.
References endPhi, G4INCL::DeJongSpin::shoot(), and startPhi.
Referenced by GetPointOnCut().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 998 of file G4Polycone.cc.
References endPhi, GetPointOnCut(), G4PolyconeHistorical::Num_z_planes, original_parameters, pi, G4PolyconeHistorical::Rmax, G4PolyconeHistorical::Rmin, G4INCL::DeJongSpin::shoot(), sqr(), startPhi, twopi, and G4PolyconeHistorical::Z_values.
|
protected |
Definition at line 877 of file G4Polycone.cc.
References endPhi, G4INCL::DeJongSpin::shoot(), startPhi, and twopi.
Referenced by GetPointOnCut().
|
inline |
|
inline |
|
inline |
Referenced by G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), export_G4Polycone(), G4ParameterisationPolyconePhi::G4ParameterisationPolyconePhi(), G4VParameterisationPolycone::G4VParameterisationPolycone(), G4ParameterisationPolyconePhi::GetMaxParameter(), and G4tgbGeometryDumper::GetSolidParams().
|
virtual |
Reimplemented from G4VCSGfaceted.
Definition at line 478 of file G4Polycone.cc.
References enclosingCylinder, G4VCSGfaceted::Inside(), kOutside, and G4EnclosingCylinder::MustBeOutside().
|
inline |
Referenced by CalculateExtent(), export_G4Polycone(), and Extent().
G4Polycone & G4Polycone::operator= | ( | const G4Polycone & | source | ) |
Definition at line 383 of file G4Polycone.cc.
References CopyStuff(), corners, enclosingCylinder, G4VCSGfaceted::operator=(), and original_parameters.
G4bool G4Polycone::Reset | ( | ) |
Definition at line 447 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 1100 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(), G4PolyconeSideRZ::z, and G4PolyconeHistorical::Z_values.
|
virtual |
Reimplemented from G4VCSGfaceted.
Definition at line 730 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 197 of file G4Polycone.hh.
Referenced by CopyStuff(), Create(), operator=(), Reset(), SetOriginalParameters(), StreamInfo(), and ~G4Polycone().
|
protected |
Definition at line 202 of file G4Polycone.hh.
Referenced by CopyStuff(), Create(), DistanceToIn(), Inside(), operator=(), Reset(), and ~G4Polycone().
|
protected |
Definition at line 194 of file G4Polycone.hh.
Referenced by CopyStuff(), Create(), GetPointOnCone(), GetPointOnRing(), GetPointOnSurface(), GetPointOnTubs(), SetOriginalParameters(), and StreamInfo().
|
protected |
Definition at line 196 of file G4Polycone.hh.
Referenced by CopyStuff(), Create(), SetOriginalParameters(), and StreamInfo().
|
protected |
Definition at line 198 of file G4Polycone.hh.
Referenced by CopyStuff(), CreatePolyhedron(), G4Polycone(), GetPointOnSurface(), operator=(), Reset(), SetOriginalParameters(), StreamInfo(), and ~G4Polycone().
|
protected |
Definition at line 195 of file G4Polycone.hh.
Referenced by CopyStuff(), and Create().
|
protected |
Definition at line 193 of file G4Polycone.hh.
Referenced by CopyStuff(), Create(), GetPointOnCone(), GetPointOnRing(), GetPointOnSurface(), GetPointOnTubs(), SetOriginalParameters(), and StreamInfo().