Files
geant4/source/geometry/solids/STEPinterface/src/G4ConicCreator.cc
T
2016-06-08 15:42:07 +02:00

50 lines
1.2 KiB
C++

// 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: G4ConicCreator.cc,v 1.2 2000/01/21 13:45:59 gcosmo Exp $
// GEANT4 tag $Name: geant4-02-00 $
//
// ----------------------------------------------------------------------
// Class G4ConicCreator
//
// Authors: J.Sulkimo, P.Urban.
// Revisions by: L.Broglia, G.Cosmo.
//
// History:
// 18-Nov-1999: First step of re-engineering - G.Cosmo
// ----------------------------------------------------------------------
#include "G4ConicCreator.hh"
#include "G4GeometryTable.hh"
G4ConicCreator G4ConicCreator::csc;
G4ConicCreator::G4ConicCreator()
{
G4GeometryTable::RegisterObject(this);
}
G4ConicCreator::~G4ConicCreator() {}
void G4ConicCreator::CreateG4Geometry(STEPentity& Ent)
{
// G4Placement *place;
G4String attrName("edge_start");
STEPattribute *Attr = GetNamedAttribute(attrName, Ent);
// Get the placement
STEPentity* TmpEnt= *Attr->ptr.c;
void *tmp =G4GeometryTable::CreateObject(*TmpEnt);
// place = (G4Placement*)place;
}
void G4ConicCreator::CreateSTEPGeometry(void* G4obj)
{
}