69 lines
2.4 KiB
C++
69 lines
2.4 KiB
C++
//
|
|
// ********************************************************************
|
|
// * DISCLAIMER *
|
|
// * *
|
|
// * The following disclaimer summarizes all the specific disclaimers *
|
|
// * of contributors to this software. The specific disclaimers,which *
|
|
// * govern, are listed with their locations in: *
|
|
// * http://cern.ch/geant4/license *
|
|
// * *
|
|
// * Neither the authors of this software system, nor their employing *
|
|
// * institutes,nor the agencies providing financial support for this *
|
|
// * work make any representation or warranty, express or implied, *
|
|
// * regarding this software system or assume any liability for its *
|
|
// * use. *
|
|
// * *
|
|
// * 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: G4PointOnSurfaceCreator.hh,v 1.3.4.1 2001/06/28 19:09:11 gunter Exp $
|
|
// GEANT4 tag $Name: $
|
|
//
|
|
// ----------------------------------------------------------------------
|
|
// Class G4PointOnSurfaceCreator
|
|
//
|
|
// Class description:
|
|
//
|
|
//
|
|
|
|
// Authors: J.Sulkimo, P.Urban.
|
|
// Revisions by: L.Broglia, G.Cosmo.
|
|
//
|
|
// History:
|
|
// 18-Nov-1999: First step of re-engineering - G.Cosmo
|
|
// ----------------------------------------------------------------------
|
|
#ifndef G4POINTONSURFACECREATOR_HH
|
|
#define G4POINTONSURFACECREATOR_HH
|
|
|
|
#include "G4GeometryCreator.hh"
|
|
|
|
class G4PointOnSurfaceCreator: private G4GeometryCreator
|
|
{
|
|
public:
|
|
|
|
// Constructor & destructor
|
|
|
|
G4PointOnSurfaceCreator();
|
|
~G4PointOnSurfaceCreator();
|
|
|
|
// Member functions
|
|
|
|
void CreateG4Geometry(STEPentity&);
|
|
void CreateSTEPGeometry(void* G4obj);
|
|
const char* Name() const { return "Point_On_Surface"; }
|
|
static G4PointOnSurfaceCreator GetInstance() { return csc; }
|
|
|
|
// Members
|
|
|
|
private:
|
|
|
|
static G4PointOnSurfaceCreator csc;
|
|
};
|
|
|
|
#endif
|