Import Geant4 2.0.0 source tree
This commit is contained in:
@@ -1,4 +1,25 @@
|
||||
// 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: G4DirectionCreator.cc,v 1.2 2000/01/21 13:46:00 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// Class G4DirectionCreator
|
||||
//
|
||||
// Authors: J.Sulkimo, P.Urban.
|
||||
// Revisions by: L.Broglia, G.Cosmo.
|
||||
//
|
||||
// History:
|
||||
// 18-Nov-1999: First step of re-engineering - G.Cosmo
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
#include "G4DirectionCreator.hh"
|
||||
#include "G4GeometryTable.hh"
|
||||
|
||||
G4DirectionCreator G4DirectionCreator::csc;
|
||||
|
||||
@@ -7,7 +28,7 @@ G4DirectionCreator::G4DirectionCreator()
|
||||
G4GeometryTable::RegisterObject(this);
|
||||
}
|
||||
|
||||
G4DirectionCreator::~G4DirectionCreator(){}
|
||||
G4DirectionCreator::~G4DirectionCreator() {}
|
||||
|
||||
void G4DirectionCreator::CreateG4Geometry(STEPentity& Ent)
|
||||
{
|
||||
@@ -54,12 +75,9 @@ void G4DirectionCreator::CreateSTEPGeometry(void* G4obj)
|
||||
dirAggr.AddNode(za);
|
||||
|
||||
SdaiDirection *sDir = new SdaiDirection();
|
||||
sDir->Direction_ratios(&dirAggr);
|
||||
sDir->direction_ratios_(&dirAggr);
|
||||
sDir->SetFileId(GetNextId());
|
||||
sDir->Name("");
|
||||
sDir->name_("");
|
||||
sDir->STEPwrite(G4cout);
|
||||
createdObject = sDir;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user