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: G4CartesianPointCreator.cc,v 1.2 2000/01/21 13:45:59 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// Class G4CartesianPointCreator
|
||||
//
|
||||
// Authors: J.Sulkimo, P.Urban.
|
||||
// Revisions by: L.Broglia, G.Cosmo.
|
||||
//
|
||||
// History:
|
||||
// 18-Nov-1999: First step of re-engineering - G.Cosmo
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
#include "G4CartesianPointCreator.hh"
|
||||
#include "G4GeometryTable.hh"
|
||||
|
||||
G4CartesianPointCreator G4CartesianPointCreator::csc;
|
||||
|
||||
@@ -7,7 +28,7 @@ G4CartesianPointCreator::G4CartesianPointCreator()
|
||||
G4GeometryTable::RegisterObject(this);
|
||||
}
|
||||
|
||||
G4CartesianPointCreator::~G4CartesianPointCreator(){}
|
||||
G4CartesianPointCreator::~G4CartesianPointCreator() {}
|
||||
|
||||
void G4CartesianPointCreator::CreateG4Geometry(STEPentity& Ent)
|
||||
{
|
||||
@@ -52,16 +73,10 @@ void G4CartesianPointCreator::CreateSTEPGeometry(void* G4obj)
|
||||
pointAggr.AddNode(za);
|
||||
|
||||
SdaiCartesian_point *sPoint = new SdaiCartesian_point();
|
||||
sPoint->Coordinates(&pointAggr);
|
||||
sPoint->coordinates_(&pointAggr);
|
||||
sPoint->SetFileId(GetNextId());
|
||||
sPoint->Name("");
|
||||
sPoint->name_("");
|
||||
|
||||
sPoint->STEPwrite(G4cout);
|
||||
createdObject = sPoint;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user