Import Geant4 2.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:42:07 +02:00
parent 103bda00c8
commit e7d7193284
3106 changed files with 171117 additions and 90550 deletions
@@ -1,10 +1,35 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4PointOnCurveCreator.cc,v 1.3 2000/02/25 16:36:19 gcosmo Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
//
// ----------------------------------------------------------------------
// Class G4PointOnCurveCreator
//
// Authors: J.Sulkimo, P.Urban.
// Revisions by: L.Broglia, G.Cosmo.
//
// History:
// 18-Nov-1999: First step of re-engineering - G.Cosmo
// ----------------------------------------------------------------------
#include "G4PointOnCurveCreator.hh"
#include "G4GeometryTable.hh"
G4PointOnCurveCreator G4PointOnCurveCreator::csc;
G4PointOnCurveCreator::G4PointOnCurveCreator(){G4GeometryTable::RegisterObject(this);}
G4PointOnCurveCreator::G4PointOnCurveCreator()
{
G4GeometryTable::RegisterObject(this);
}
G4PointOnCurveCreator::~G4PointOnCurveCreator(){}
G4PointOnCurveCreator::~G4PointOnCurveCreator() {}
void G4PointOnCurveCreator::CreateG4Geometry(STEPentity& Ent)
{
@@ -18,20 +43,18 @@ void G4PointOnCurveCreator::CreateG4Geometry(STEPentity& Ent)
Attr = Ent.NextAttribute();
// Get basis curve
STEPentity* TmpEnt= *Attr->ptr.c;
STEPentity* TmpEnt= *Attr->ptr.c;
void* tmp =G4GeometryTable::CreateObject(*TmpEnt);
crv = (G4Curve*)tmp;
crv = (G4Curve*)tmp;
if (!tmp)
G4cerr << "WARNING - G4PointOnCurveCreator::CreateG4Geometry" << G4endl
<< "\tUnexpected NULL pointer to G4Curve !" << G4endl;
// Get parameter value
Attr = Ent.NextAttribute();
Attr = Ent.NextAttribute();
pval = *Attr->ptr.r;
createdObject = new G4double(pval);
}
void G4PointOnCurveCreator::CreateSTEPGeometry(void* G4obj){}
void G4PointOnCurveCreator::CreateSTEPGeometry(void* G4obj) {}