59 lines
1.7 KiB
C++
59 lines
1.7 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: G4BREPSolidCylinder.hh,v 1.4 2000/11/08 14:21:59 gcosmo Exp $
|
|
// GEANT4 tag $Name: geant4-03-00 $
|
|
//
|
|
// ----------------------------------------------------------------------
|
|
// Class G4BREPSolidCylinder
|
|
//
|
|
// Class description:
|
|
//
|
|
// Definition of a generic BREP cylinder:
|
|
//
|
|
// G4BREPSolidCylinder(const G4String& name,
|
|
// const G4ThreeVector& origin,
|
|
// const G4ThreeVector& axis,
|
|
// const G4ThreeVector& direction,
|
|
// G4double radius,
|
|
// G4double length)
|
|
|
|
// Authors: J.Sulkimo, P.Urban.
|
|
// Revisions by: L.Broglia, G.Cosmo.
|
|
// ----------------------------------------------------------------------
|
|
#ifndef __G4BREPSolidCylinder
|
|
#define __G4BREPSolidCylinder
|
|
|
|
#include "G4BREPSolid.hh"
|
|
|
|
class G4BREPSolidCylinder : public G4BREPSolid
|
|
{
|
|
|
|
public: // with description
|
|
|
|
G4BREPSolidCylinder(const G4String& name,
|
|
const G4ThreeVector& origin,
|
|
const G4ThreeVector& axis,
|
|
const G4ThreeVector& direction,
|
|
G4double radius,
|
|
G4double length);
|
|
// Constructor defining the cylinder through planes
|
|
// and circular surfaces.
|
|
|
|
~G4BREPSolidCylinder();
|
|
// Empty destructor.
|
|
|
|
private:
|
|
|
|
G4BREPSolidCylinder(const G4BREPSolidCylinder&);
|
|
G4BREPSolidCylinder& operator=(const G4BREPSolidCylinder&);
|
|
// Private copy constructor and assignment operator.
|
|
|
|
};
|
|
|
|
#endif
|