Import Geant4 3.0.0 source tree
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4ClosedShellCreator.cc,v 1.3 2000/02/25 16:36:18 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
// $Id: G4ClosedShellCreator.cc,v 1.5 2000/11/20 18:17:29 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-03-00 $
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// Class G4ClosedShellCreator
|
||||
@@ -43,7 +43,7 @@ void G4ClosedShellCreator::CreateG4Geometry(STEPentity& Ent)
|
||||
|
||||
G4SurfaceVector SurfaceVec;
|
||||
|
||||
for(size_t a=0; a<FaceCount;a++)
|
||||
for(G4int a=0; a<FaceCount;a++)
|
||||
{
|
||||
TmpEnt = ((EntityNode*)Node)->node;
|
||||
void *tmp = G4GeometryTable::CreateObject(*TmpEnt);
|
||||
@@ -59,7 +59,7 @@ void G4ClosedShellCreator::CreateG4Geometry(STEPentity& Ent)
|
||||
<< "\tTotal of " << SurfNum << " G4Surface components created, out of "
|
||||
<< FaceCount << " expected !" << G4endl
|
||||
<< "\tBREP Solid not correctly instantiated." << G4endl;
|
||||
for(size_t b=0;b<SurfNum;b++)
|
||||
for(G4int b=0;b<SurfNum;b++)
|
||||
srfVec[b] = (SurfaceVec[b]);
|
||||
|
||||
G4BREPSolid* sld = new G4BREPSolid(" ", srfVec, SurfNum);
|
||||
@@ -72,7 +72,7 @@ void G4ClosedShellCreator::CreateSTEPGeometry(void* G4obj)
|
||||
G4BREPSolid* bSld = (G4BREPSolid*)G4obj;
|
||||
SdaiClosed_shell* sld = new SdaiClosed_shell();
|
||||
|
||||
G4int surfaceCount = bSld->NumberOfFaces();
|
||||
G4int surfaceCount = bSld->GetNumberOfFaces();
|
||||
|
||||
EntityAggregate eAggr;
|
||||
EntityNode* eNode=0;
|
||||
|
||||
Reference in New Issue
Block a user