72 lines
2.5 KiB
C++
72 lines
2.5 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: G4CSGSolid.hh,v 1.10 2005/11/09 15:03:09 gcosmo Exp $
|
|
// GEANT4 tag $Name: geant4-08-00 $
|
|
//
|
|
//
|
|
// --------------------------------------------------------------------
|
|
// GEANT 4 class header file
|
|
//
|
|
// G4CSGSolid
|
|
//
|
|
// Class description:
|
|
//
|
|
// An abstract class inherited from G4VSolid for Constructed Solids.
|
|
// Used primarily to structure inheritance tree.
|
|
|
|
// History:
|
|
// 27.03.98 J.Apostolakis Created first version.
|
|
// --------------------------------------------------------------------
|
|
|
|
#ifndef G4CSGSOLID_HH
|
|
#define G4CSGSOLID_HH
|
|
|
|
#include "G4VSolid.hh"
|
|
|
|
class G4CSGSolid : public G4VSolid
|
|
{
|
|
public: // with description
|
|
|
|
G4CSGSolid(const G4String& pName);
|
|
virtual ~G4CSGSolid();
|
|
|
|
virtual std::ostream& StreamInfo(std::ostream& os) const;
|
|
|
|
virtual G4Polyhedron* GetPolyhedron () const;
|
|
|
|
public: // without description
|
|
|
|
G4CSGSolid(__void__&);
|
|
// Fake default constructor for usage restricted to direct object
|
|
// persistency for clients requiring preallocation of memory for
|
|
// persistifiable objects.
|
|
|
|
protected:
|
|
|
|
G4double fCubicVolume;
|
|
mutable G4Polyhedron* fpPolyhedron;
|
|
};
|
|
|
|
#endif
|