Import Geant4 9.1.0 source tree
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4ClippablePolygon.hh,v 1.11 2007/05/11 13:54:28 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4ClippablePolygon.icc,v 1.4 2006/06/29 18:46:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 inline definitions file
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4Ellipsoid.hh,v 1.12 2007/05/18 07:39:56 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4Ellipsoid.icc,v 1.7 2006/10/20 13:45:20 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4EllipticalCone.hh,v 1.10 2007/05/18 07:39:56 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// $Id: G4EllipticalCone.hh,v 1.11 2007/08/20 15:21:40 tnikitin Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
@@ -39,8 +39,8 @@
|
||||
//
|
||||
// Member Data:
|
||||
//
|
||||
// xSemiAxis semi-axis, x
|
||||
// ySemiAxis semi-axis, y
|
||||
// xSemiAxis semi-axis, x, without dimentions
|
||||
// ySemiAxis semi-axis, y, without dimentions
|
||||
// zheight height, z
|
||||
// zTopCut upper cut plane level, z
|
||||
//
|
||||
@@ -56,9 +56,24 @@
|
||||
// * *
|
||||
// ***************************************************************************
|
||||
//
|
||||
// In case you want to construct G4EllipticalCone from :
|
||||
// 1. halflength in Z = zTopCut
|
||||
// 2. Dx and Dy = halflength of ellipse axis at z = -zTopCut
|
||||
// 3. dx and dy = halflength of ellipse axis at z = zTopCut
|
||||
// ! Attention : dx/dy=Dx/Dy
|
||||
//
|
||||
// You need to find xSemiAxis,ySemiAxis and zheight:
|
||||
//
|
||||
// xSemiAxis = (Dx-dx)/(2*zTopCut)
|
||||
// ySemiAxis = (Dy-dy)/(2*zTopCut)
|
||||
// zheight = (Dx+dx)/(2*xSemiAxis)
|
||||
//
|
||||
// Author:
|
||||
// Dionysios Anninos, 8.9.2005
|
||||
//
|
||||
//
|
||||
// Revision:
|
||||
// Lukas Lindroos, Tatiana Nikitina 20.08.2007
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
#ifndef G4EllipticalCone_HH
|
||||
#define G4EllipticalCone_HH
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4EllipticalCone.icc,v 1.6 2006/10/20 13:45:20 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4EllipticalTube.hh,v 1.18 2006/10/20 13:45:20 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4EllipticalTube.icc,v 1.4 2006/06/29 18:46:55 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 inline definitions file
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4EnclosingCylinder.hh,v 1.8 2006/06/29 18:46:58 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4ExtrudedSolid.hh,v 1.5 2007/02/26 08:40:01 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4ExtrudedSolid.icc,v 1.2 2007/02/19 10:17:45 ivana Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 inline definitions file
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
//
|
||||
// $Id: G4Hype.hh,v 1.15 2006/10/20 13:45:20 gcosmo Exp $
|
||||
// $Original: G4Hype.hh,v 1.0 1998/06/09 16:57:50 safai Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4Hype.icc,v 1.7 2006/06/29 18:47:03 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 inline definitions file
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4IntersectingCone.hh,v 1.9 2006/06/29 18:47:05 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -0,0 +1,152 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * License and Disclaimer *
|
||||
// * *
|
||||
// * The Geant4 software is copyright of the Copyright Holders of *
|
||||
// * the Geant4 Collaboration. It is provided under the terms and *
|
||||
// * conditions of the Geant4 Software License, included in the file *
|
||||
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
||||
// * include a list of copyright holders. *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. Please see the license in the file LICENSE and URL above *
|
||||
// * for the full disclaimer and the limitation of liability. *
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration. *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Paraboloid.hh,v 1.3 2007/08/21 12:58:36 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
// G4Paraboloid
|
||||
//
|
||||
// Class description:
|
||||
//
|
||||
// A G4Paraboloid represents a solid with parabolic profile with possible
|
||||
// cuts along the Z axis.
|
||||
//
|
||||
// Member Data:
|
||||
//
|
||||
// dz z half lenght
|
||||
// r1 radius at -dz
|
||||
// r2 radius at dz
|
||||
// r2 > r1
|
||||
//
|
||||
// Equation for the solid:
|
||||
// rho^2 <= k1 * z + k2;
|
||||
// -dz <= z <= dz
|
||||
// r1^2 = k1 * (-dz) + k2
|
||||
// r2^2 = k1 * ( dz) + k2
|
||||
|
||||
// History:
|
||||
// -------
|
||||
// 10.07.2007 L.Lindroos (CERN) - First implementation
|
||||
// --------------------------------------------------------------------
|
||||
#ifndef G4Paraboloid_HH
|
||||
#define G4Paraboloid_HH
|
||||
|
||||
#include "G4VSolid.hh"
|
||||
|
||||
class G4Paraboloid : public G4VSolid
|
||||
{
|
||||
public: // with description
|
||||
|
||||
G4Paraboloid(const G4String& pName,
|
||||
G4double pR1,
|
||||
G4double pR2,
|
||||
G4double pDz);
|
||||
|
||||
virtual ~G4Paraboloid();
|
||||
|
||||
// Access functions
|
||||
|
||||
inline G4double GetZHalfLength() const;
|
||||
inline G4double GetRadiusMinusZ() const;
|
||||
inline G4double GetRadiusPlusZ() const;
|
||||
|
||||
inline G4double GetCubicVolume();
|
||||
inline G4double GetSurfaceArea();
|
||||
inline G4double CalculateSurfaceArea() const;
|
||||
|
||||
// Modifiers functions
|
||||
|
||||
inline void SetZHalfLength(G4double dz);
|
||||
inline void SetRadiusMinusZ(G4double R1);
|
||||
inline void SetRadiusPlusZ(G4double R2);
|
||||
|
||||
// Solid standard methods
|
||||
|
||||
//void ComputeDimensions( G4VPVParamerisation p,
|
||||
// const G4Int n,
|
||||
// const G4VPhysicalVolume* pRep );
|
||||
G4bool CalculateExtent(const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
G4double& pmin, G4double& pmax) const;
|
||||
EInside Inside(const G4ThreeVector& p) const;
|
||||
G4ThreeVector SurfaceNormal( const G4ThreeVector& p) const;
|
||||
G4double DistanceToIn(const G4ThreeVector& p,
|
||||
const G4ThreeVector& v) const;
|
||||
G4double DistanceToIn(const G4ThreeVector& p) const;
|
||||
G4double DistanceToOut(const G4ThreeVector& p,
|
||||
const G4ThreeVector& v,
|
||||
const G4bool calcNorm=G4bool(false),
|
||||
G4bool *validNorm=0,
|
||||
G4ThreeVector *n=0) const;
|
||||
G4double DistanceToOut(const G4ThreeVector& p) const;
|
||||
|
||||
G4GeometryType GetEntityType() const;
|
||||
|
||||
std::ostream& StreamInfo(std::ostream& os) const;
|
||||
|
||||
G4ThreeVector GetPointOnSurface() const;
|
||||
|
||||
// Visualisation functions
|
||||
|
||||
void DescribeYourselfTo(G4VGraphicsScene& scene) const;
|
||||
G4Polyhedron* CreatePolyhedron() const;
|
||||
G4Polyhedron* GetPolyhedron () const;
|
||||
G4NURBS* CreateNURBS() const;
|
||||
|
||||
public: // without description
|
||||
|
||||
G4Paraboloid(__void__&);
|
||||
// Fake default constructor for usage restricted to direct object
|
||||
// persistency for clients requiring preallocation of memory for
|
||||
// persistifiable objects.
|
||||
|
||||
protected: // without description
|
||||
|
||||
mutable G4Polyhedron* fpPolyhedron;
|
||||
|
||||
private:
|
||||
|
||||
G4ThreeVectorList*
|
||||
CreateRotatedVertices(const G4AffineTransform& pTransform,
|
||||
G4int& noPolygonVertices) const;
|
||||
// Making this mutable to allow GetPointOnSurface to have access to
|
||||
// area function.
|
||||
mutable G4double fSurfaceArea;
|
||||
G4double fCubicVolume;
|
||||
|
||||
G4double dz, r1, r2;
|
||||
G4double k1, k2;
|
||||
// Defined to make some calculations easier to follow
|
||||
};
|
||||
|
||||
#include "G4Paraboloid.icc"
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,170 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * License and Disclaimer *
|
||||
// * *
|
||||
// * The Geant4 software is copyright of the Copyright Holders of *
|
||||
// * the Geant4 Collaboration. It is provided under the terms and *
|
||||
// * conditions of the Geant4 Software License, included in the file *
|
||||
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
||||
// * include a list of copyright holders. *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. Please see the license in the file LICENSE and URL above *
|
||||
// * for the full disclaimer and the limitation of liability. *
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration. *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Paraboloid.icc,v 1.4 2007/08/21 12:58:36 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 inline definitions file
|
||||
//
|
||||
// G4Paraboloid.icc
|
||||
//
|
||||
// Implementation of inline methods of G4Paraboloid
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
inline
|
||||
G4double G4Paraboloid::GetZHalfLength() const
|
||||
{
|
||||
return dz;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Paraboloid::GetRadiusPlusZ() const
|
||||
{
|
||||
return r2;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Paraboloid::GetRadiusMinusZ() const
|
||||
{
|
||||
return r1;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4Paraboloid::SetZHalfLength(G4double pDz)
|
||||
{
|
||||
if(pDz <= 0)
|
||||
{
|
||||
G4Exception("G4Paraboloid::SetZHalfLength()", "InvalidSetup",
|
||||
FatalException, "Invalid dimensions.");
|
||||
}
|
||||
else
|
||||
{
|
||||
dz = pDz;
|
||||
k1 = (sqr(r2) - sqr(r1)) / (2 * dz);
|
||||
k2 = (sqr(r2) + sqr(r1)) / 2;
|
||||
|
||||
// This informs GetSurfaceArea() and GetCubicVolume() that it needs
|
||||
// to recalculate buffered value.
|
||||
//
|
||||
fSurfaceArea = 0.;
|
||||
fCubicVolume = 0.;
|
||||
}
|
||||
}
|
||||
|
||||
inline
|
||||
void G4Paraboloid::SetRadiusPlusZ(G4double pR2)
|
||||
{
|
||||
if(pR2 <= 0 || pR2 <= r1)
|
||||
{
|
||||
G4Exception("G4Paraboloid::SetRadiusPlusZ()", "InvalidSetup",
|
||||
FatalException, "Invalid dimensions.");
|
||||
}
|
||||
else
|
||||
{
|
||||
r2 = pR2;
|
||||
k1 = (sqr(r2) - sqr(r1)) / (2 * dz);
|
||||
k2 = (sqr(r2) + sqr(r1)) / 2;
|
||||
|
||||
// This informs GetSurfaceArea() and GetCubicVolume() that it needs
|
||||
// to recalculate buffered value.
|
||||
//
|
||||
fSurfaceArea = 0.;
|
||||
fCubicVolume = 0.;
|
||||
}
|
||||
}
|
||||
|
||||
inline
|
||||
void G4Paraboloid::SetRadiusMinusZ(G4double pR1)
|
||||
{
|
||||
if(pR1 < 0 || pR1 >= r2)
|
||||
{
|
||||
G4Exception("G4Paraboloid::SetRadiusMinusZ()", "InvalidSetup",
|
||||
FatalException, "Invalid dimensions.");
|
||||
}
|
||||
else
|
||||
{
|
||||
r1 = pR1;
|
||||
k1 = (sqr(r2) - sqr(r1)) / (2 * dz);
|
||||
k2 = (sqr(r2) + sqr(r1)) / 2;
|
||||
|
||||
// This informs GetSurfaceArea() and GetCubicVolume() that it needs
|
||||
// to recalculate buffered value.
|
||||
//
|
||||
fSurfaceArea = 0.;
|
||||
fCubicVolume = 0.;
|
||||
}
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Paraboloid::GetCubicVolume()
|
||||
{
|
||||
if(fCubicVolume != 0 ) {;}
|
||||
else
|
||||
{
|
||||
fCubicVolume = pi * 2. * k2 * dz;
|
||||
}
|
||||
return fCubicVolume;
|
||||
}
|
||||
|
||||
|
||||
inline
|
||||
G4double G4Paraboloid::CalculateSurfaceArea() const
|
||||
{
|
||||
G4double h1, h2, A1, A2;
|
||||
|
||||
h1 = k2/k1 + dz;
|
||||
h2 = k2/k1 - dz;
|
||||
|
||||
// Calculate surface area for the paraboloid full paraboloid
|
||||
// cutoff at z = dz (not the cutoff area though).
|
||||
|
||||
A1 = sqr(r2) + 4 * sqr(h1);
|
||||
A1 *= sqr(A1); // Sets A1 = A1^3
|
||||
A1 = pi * r2 /6 / sqr(h1) * ( std::sqrt(A1) - r2 * r2 * r2);
|
||||
|
||||
// Calculate surface area for the paraboloid full paraboloid
|
||||
// cutoff at z = -dz (not the cutoff area though).
|
||||
|
||||
A2 = sqr(r1) + 4 * sqr(h2);
|
||||
A2 *= sqr(A2);// Sets A2 = A2^3
|
||||
|
||||
if(h2 != 0)
|
||||
{ A2 = pi * r1 /6 / sqr(h2) * ( std::sqrt(A2) - r1 * r1 * r1); }
|
||||
else
|
||||
{ A2 = 0.; }
|
||||
|
||||
return fSurfaceArea = A1 - A2 + (sqr(r1) + sqr(r2))*pi;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Paraboloid::GetSurfaceArea()
|
||||
{
|
||||
if(fSurfaceArea == 0.) CalculateSurfaceArea();
|
||||
|
||||
return fSurfaceArea;
|
||||
}
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4PolyPhiFace.hh,v 1.10 2007/05/11 13:54:28 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4PolyPhiFace.icc,v 1.6 2006/06/29 18:47:10 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4Polycone.hh,v 1.20 2007/04/26 06:18:20 tnikitin Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4Polycone.icc,v 1.10 2006/06/29 18:47:14 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 inline definitions file
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4PolyconeSide.hh,v 1.9 2007/05/11 13:54:28 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// $Id: G4PolyconeSide.hh,v 1.10 2007/08/13 10:33:03 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
@@ -129,8 +129,10 @@ class G4PolyconeSide : public G4VCSGface
|
||||
G4double rNormEdge[2],
|
||||
zNormEdge[2]; // Normal to edges
|
||||
|
||||
//(WP)
|
||||
int ncorners;
|
||||
G4ThreeVector *corners; // The coordinates of the corners (if phiIsOpen)
|
||||
|
||||
|
||||
G4double DistanceAway( const G4ThreeVector &p, G4bool opposite,
|
||||
G4double &distOutside2, G4double *rzNorm=0 );
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4Polyhedra.hh,v 1.17 2007/01/22 12:58:53 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4Polyhedra.icc,v 1.11 2007/01/22 12:58:53 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 inline definitions file
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4PolyhedraSide.hh,v 1.9 2007/05/11 13:54:28 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4QuadrangularFacet.hh,v 1.5 2007/02/26 08:39:13 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
//
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4ReduciblePolygon.hh,v 1.9 2006/06/29 18:47:29 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4SolidExtentList.hh,v 1.7 2006/06/29 18:47:32 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -0,0 +1,118 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * License and Disclaimer *
|
||||
// * *
|
||||
// * The Geant4 software is copyright of the Copyright Holders of *
|
||||
// * the Geant4 Collaboration. It is provided under the terms and *
|
||||
// * conditions of the Geant4 Software License, included in the file *
|
||||
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
||||
// * include a list of copyright holders. *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. Please see the license in the file LICENSE and URL above *
|
||||
// * for the full disclaimer and the limitation of liability. *
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration and of QinetiQ Ltd, *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id:
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
//
|
||||
// MODULE: G4TessellatedGeometryAlgorithms.hh
|
||||
//
|
||||
// Date: 07/08/2005
|
||||
// Author: Rickard Holmberg & Pete Truscott
|
||||
// Organisation: QinetiQ Ltd, UK (PT)
|
||||
// Customer: ESA-ESTEC / TEC-EES
|
||||
// Contract:
|
||||
//
|
||||
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
//
|
||||
// CHANGE HISTORY
|
||||
// --------------
|
||||
//
|
||||
// 07 August 2007, P R Truscott, QinetiQ Ltd, UK - Created, with member
|
||||
// functions based on the work of Rickard Holmberg.
|
||||
//
|
||||
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
//
|
||||
// Class description:
|
||||
//
|
||||
// The G4TessellatedGeometryAlgorithms class is used to contain standard
|
||||
// routines to determine whether (and if so where) simple geometric shapes
|
||||
// intersect.
|
||||
//
|
||||
// The constructor doesn't need to do anything, and neither does the
|
||||
// destructor.
|
||||
//
|
||||
// IntersectLineAndTriangle2D
|
||||
// Determines whether there is an intersection between a line defined
|
||||
// by r = p + s.v and a triangle defined by verticies P0, P0+E0 and P0+E1.
|
||||
// Here:
|
||||
// p = 2D vector
|
||||
// s = scaler on [0,infinity)
|
||||
// v = 2D vector
|
||||
// P0, E0 and E1 are 2D vectors
|
||||
// Information about where the intersection occurs is returned in the
|
||||
// variable location.
|
||||
//
|
||||
// IntersectLineAndLineSegment2D
|
||||
// Determines whether there is an intersection between a line defined
|
||||
// by r = P0 + s.D0 and a line-segment with endpoints P1 and P1+D1.
|
||||
// Here:
|
||||
// P0 = 2D vector
|
||||
// s = scaler on [0,infinity)
|
||||
// D0 = 2D vector
|
||||
// P1 and D1 are 2D vectors
|
||||
// Information about where the intersection occurs is returned in the
|
||||
// variable location.
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef G4TessellatedGeometryAlgorithms_hh
|
||||
#define G4TessellatedGeometryAlgorithms_hh 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4TwoVector.hh"
|
||||
|
||||
class G4TessellatedGeometryAlgorithms
|
||||
{
|
||||
public: // with description
|
||||
|
||||
static G4TessellatedGeometryAlgorithms* GetInstance();
|
||||
G4bool IntersectLineAndTriangle2D (const G4TwoVector p,
|
||||
const G4TwoVector v,
|
||||
const G4TwoVector P0,
|
||||
const G4TwoVector E0,
|
||||
const G4TwoVector E1,
|
||||
G4TwoVector location[2]);
|
||||
|
||||
G4int IntersectLineAndLineSegment2D (const G4TwoVector P0,
|
||||
const G4TwoVector D0,
|
||||
const G4TwoVector P1,
|
||||
const G4TwoVector D1,
|
||||
G4TwoVector location[2]);
|
||||
|
||||
inline G4double cross(const G4TwoVector v1, const G4TwoVector v2) const;
|
||||
|
||||
protected:
|
||||
|
||||
G4TessellatedGeometryAlgorithms();
|
||||
|
||||
private:
|
||||
|
||||
static G4TessellatedGeometryAlgorithms *fInstance;
|
||||
};
|
||||
|
||||
#include "G4TessellatedGeometryAlgorithms.icc"
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,63 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * License and Disclaimer *
|
||||
// * *
|
||||
// * The Geant4 software is copyright of the Copyright Holders of *
|
||||
// * the Geant4 Collaboration. It is provided under the terms and *
|
||||
// * conditions of the Geant4 Software License, included in the file *
|
||||
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
||||
// * include a list of copyright holders. *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. Please see the license in the file LICENSE and URL above *
|
||||
// * for the full disclaimer and the limitation of liability. *
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration and of QinetiQ Ltd, *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id:
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
//
|
||||
// MODULE: G4TessellatedGeometryAlgorithms.icc
|
||||
//
|
||||
// Date: 07/08/2005
|
||||
// Author: Rickard Holmberg & Pete Truscott
|
||||
// Organisation: QinetiQ Ltd, UK (PT)
|
||||
// Customer: ESA-ESTEC / TEC-EES
|
||||
// Contract:
|
||||
//
|
||||
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
//
|
||||
// CHANGE HISTORY
|
||||
// --------------
|
||||
//
|
||||
// 07 August 2007, P R Truscott, QinetiQ Ltd, UK - Created, with member
|
||||
// functions based on the work of Rickard Holmberg.
|
||||
//
|
||||
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
//
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// CrossProduct
|
||||
//
|
||||
// This is just a ficticious "cross-product" function for two 2D vectors...
|
||||
// "ficticious" because such an operation is not relevant to 2D space compared
|
||||
// with 3D space.
|
||||
//
|
||||
inline G4double
|
||||
G4TessellatedGeometryAlgorithms::cross(const G4TwoVector v1,
|
||||
const G4TwoVector v2) const
|
||||
{
|
||||
return v1.x()*v2.y() - v1.y()*v2.x();
|
||||
}
|
||||
@@ -17,15 +17,15 @@
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration and of QinetiQ Ltd, *
|
||||
// * subject DEFCON 705 IPR conditions. *
|
||||
// * subject to DEFCON 705 IPR conditions. *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4TessellatedSolid.hh,v 1.7 2007/02/12 11:51:25 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// $Id: G4TessellatedSolid.hh,v 1.10 2007/12/10 16:30:13 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
//
|
||||
@@ -121,6 +121,7 @@
|
||||
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <set>
|
||||
#include <map>
|
||||
|
||||
class G4TessellatedSolid : public G4VSolid
|
||||
@@ -147,6 +148,7 @@ class G4TessellatedSolid : public G4VSolid
|
||||
// const G4VPhysicalVolume* pRep) const;
|
||||
|
||||
virtual EInside Inside (const G4ThreeVector &p) const;
|
||||
void SetRandomVectorSet ();
|
||||
virtual G4ThreeVector SurfaceNormal (const G4ThreeVector &p) const;
|
||||
virtual G4double DistanceToIn(const G4ThreeVector &p,
|
||||
const G4ThreeVector &v) const;
|
||||
@@ -202,11 +204,13 @@ class G4TessellatedSolid : public G4VSolid
|
||||
// Create the List of transformed vertices in the format required
|
||||
// for G4VSolid:: ClipCrossSection and ClipBetweenSections.
|
||||
|
||||
private:
|
||||
private:
|
||||
|
||||
mutable G4Polyhedron* fpPolyhedron;
|
||||
|
||||
std::vector<G4VFacet *> facets;
|
||||
std::set<G4VFacet *> extremeFacets; // Does all other facets lie
|
||||
// on or behind this surface?
|
||||
G4GeometryType geometryType;
|
||||
G4double cubicVolume;
|
||||
G4double surfaceArea;
|
||||
@@ -219,7 +223,9 @@ class G4TessellatedSolid : public G4VSolid
|
||||
G4double zMaxExtent;
|
||||
G4bool solidClosed;
|
||||
|
||||
G4double dirTolerance;
|
||||
G4double dirTolerance;
|
||||
G4ThreeVector randir[20];
|
||||
G4int maxTries;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4Tet.hh,v 1.9 2006/11/13 08:58:03 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -17,15 +17,15 @@
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration and of QinetiQ Ltd, *
|
||||
// * subject DEFCON 705 IPR conditions. *
|
||||
// * subject to DEFCON 705 IPR conditions. *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4TriangularFacet.hh,v 1.6 2007/02/26 08:39:40 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// $Id: G4TriangularFacet.hh,v 1.8 2007/12/10 16:30:18 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
//
|
||||
@@ -68,9 +68,10 @@
|
||||
#ifndef G4TriangularFacet_hh
|
||||
#define G4TriangularFacet_hh 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4VFacet.hh"
|
||||
#include "G4ThreeVector.hh"
|
||||
#include "globals.hh"
|
||||
#include "G4TessellatedGeometryAlgorithms.hh"
|
||||
|
||||
class G4TriangularFacet : public G4VFacet
|
||||
{
|
||||
@@ -106,6 +107,10 @@ class G4TriangularFacet : public G4VFacet
|
||||
|
||||
G4double sMin, sMax;
|
||||
G4double tMin;
|
||||
|
||||
G4double sqrDist;
|
||||
|
||||
G4TessellatedGeometryAlgorithms *tGeomAlg;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4TwistTrapFlatSide.hh,v 1.5 2006/06/29 18:47:48 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4TwistTubsFlatSide.hh,v 1.5 2006/06/29 18:47:53 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4TwistTubsHypeSide.hh,v 1.5 2006/06/29 18:47:56 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4TwistTubsSide.hh,v 1.5 2006/06/29 18:47:58 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4TwistedBox.hh,v 1.10 2006/06/29 18:48:00 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4TwistedTrap.hh,v 1.10 2006/06/29 18:48:02 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4TwistedTrd.hh,v 1.6 2006/06/29 18:48:04 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4TwistedTubs.hh,v 1.14 2007/05/23 09:32:35 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VCSGface.hh,v 1.7 2006/06/29 18:48:08 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VCSGfaceted.hh,v 1.13 2006/10/20 13:45:20 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4VFacet.hh,v 1.5 2007/05/11 13:54:28 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// $Id: G4VFacet.hh,v 1.6 2007/08/23 14:45:03 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
//
|
||||
@@ -83,7 +83,7 @@ class G4VFacet
|
||||
inline G4bool IsDefined () const;
|
||||
inline void SetVertexIndex (const size_t i, const size_t j);
|
||||
inline size_t GetVertexIndex (const size_t i) const;
|
||||
inline G4ThreeVector GetCentroid () const;
|
||||
inline G4ThreeVector GetCircumcentre () const;
|
||||
inline G4double GetRadius () const;
|
||||
inline G4double GetRadiusSquared() const;
|
||||
|
||||
@@ -112,7 +112,7 @@ class G4VFacet
|
||||
G4ThreeVectorList E;
|
||||
std::vector<size_t> I;
|
||||
G4ThreeVector surfaceNormal;
|
||||
G4ThreeVector centroid;
|
||||
G4ThreeVector circumcentre;
|
||||
G4double radius;
|
||||
G4double radiusSqr;
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4VFacet.icc,v 1.4 2007/02/12 09:34:44 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// $Id: G4VFacet.icc,v 1.5 2007/08/23 14:45:03 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
//
|
||||
@@ -88,7 +88,7 @@ inline size_t G4VFacet::GetNumberOfVertices () const
|
||||
return nVertices;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
inline void G4VFacet::SetVertexIndex (const size_t i, const size_t j)
|
||||
{I[i] = j;}
|
||||
@@ -104,8 +104,8 @@ inline G4ThreeVector G4VFacet::GetVertex (size_t i) const
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
inline G4ThreeVector G4VFacet::GetCentroid () const
|
||||
{return centroid;}
|
||||
inline G4ThreeVector G4VFacet::GetCircumcentre () const
|
||||
{return circumcentre;}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VTwistSurface.hh,v 1.6 2007/05/11 13:54:28 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VTwistSurface.icc,v 1.3 2006/06/29 18:48:20 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VTwistedFaceted.hh,v 1.10 2006/10/20 13:45:20 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
|
||||
Reference in New Issue
Block a user