65 lines
2.1 KiB
C++
65 lines
2.1 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: G4BREPSolidOpenPCone.hh,v 1.4 2000/11/08 14:21:59 gcosmo Exp $
|
|
// GEANT4 tag $Name: geant4-03-00 $
|
|
//
|
|
// ----------------------------------------------------------------------
|
|
// Class G4BREPSolidOpenPCone
|
|
//
|
|
// Class description:
|
|
//
|
|
// Definition of a generic BREP open polyconical solid:
|
|
//
|
|
// G4BREPSolidOpenPCone ( const G4String& name,
|
|
// G4double start_angle,
|
|
// G4double opening_angle,
|
|
// G4int num_z_planes,
|
|
// G4double z_start,
|
|
// G4double z_values[],
|
|
// G4double RMIN[],
|
|
// G4double RMAX[])
|
|
|
|
// Authors: J.Sulkimo, P.Urban.
|
|
// Revisions by: L.Broglia, G.Cosmo.
|
|
// ----------------------------------------------------------------------
|
|
#ifndef G4BREPSolidOpenPCone_hh
|
|
#define G4BREPSolidOpenPCone_hh
|
|
|
|
#include "G4IntersectionSolid.hh"
|
|
|
|
class G4BREPSolidOpenPCone : public G4IntersectionSolid
|
|
{
|
|
|
|
public: // with description
|
|
|
|
G4BREPSolidOpenPCone( const G4String& name,
|
|
G4double start_angle,
|
|
G4double opening_angle,
|
|
G4int num_z_planes, // sections
|
|
G4double z_start,
|
|
G4double z_values[],
|
|
G4double RMIN[],
|
|
G4double RMAX[] );
|
|
// Constructor defining the polycone through its
|
|
// conical/cylindrical surfaces.
|
|
|
|
~G4BREPSolidOpenPCone();
|
|
// Empty destructor.
|
|
|
|
void DescribeYourselfTo (G4VGraphicsScene& scene) const;
|
|
// Dispatch function which identifies the solid to the graphics scene.
|
|
|
|
private:
|
|
|
|
G4BREPSolidOpenPCone(const G4BREPSolidOpenPCone&);
|
|
G4BREPSolidOpenPCone& operator=(const G4BREPSolidOpenPCone&);
|
|
|
|
};
|
|
|
|
#endif
|