Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4ArrowModel.cc 76285 2013-11-08 13:01:44Z gcosmo $
//
//
// John Allison 15th July 2012
@@ -36,13 +36,17 @@
#include "G4VGraphicsScene.hh"
#include "G4VisAttributes.hh"
#include "G4Tubs.hh"
#include "G4Polycone.hh"
#include "G4GenericPolycone.hh"
#include "G4Polyhedron.hh"
#include "G4Vector3D.hh"
#include "G4Point3D.hh"
#include "G4Transform3D.hh"
G4ArrowModel::~G4ArrowModel () {}
G4ArrowModel::~G4ArrowModel ()
{
delete fpHeadPolyhedron;
delete fpShaftPolyhedron;
}
G4ArrowModel::G4ArrowModel
(G4double x1, G4double y1, G4double z1,
@@ -84,7 +88,7 @@ G4ArrowModel::G4ArrowModel
r[i] *= 2.*shaftRadius;
z[i] = halfShaftLength + z[i] * 2.*shaftRadius;
}
G4Polycone head("head",0,twopi,numRZ,r,z);
G4GenericPolycone head("head",0,twopi,numRZ,r,z);
fpHeadPolyhedron = head.CreatePolyhedron();
// Transform to position