source: trunk/source/geometry/solids/BREPS/include/G4BREPSolidOpenPCone.hh @ 1199

Last change on this file since 1199 was 1058, checked in by garnier, 15 years ago

file release beta

File size: 3.9 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer                                           *
4// *                                                                  *
5// * The  Geant4 software  is  copyright of the Copyright Holders  of *
6// * the Geant4 Collaboration.  It is provided  under  the terms  and *
7// * conditions of the Geant4 Software License,  included in the file *
8// * LICENSE and available at  http://cern.ch/geant4/license .  These *
9// * include a list of copyright holders.                             *
10// *                                                                  *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work  make  any representation or  warranty, express or implied, *
14// * regarding  this  software system or assume any liability for its *
15// * use.  Please see the license in the file  LICENSE  and URL above *
16// * for the full disclaimer and the limitation of liability.         *
17// *                                                                  *
18// * This  code  implementation is the result of  the  scientific and *
19// * technical work of the GEANT4 collaboration.                      *
20// * By using,  copying,  modifying or  distributing the software (or *
21// * any work based  on the software)  you  agree  to acknowledge its *
22// * use  in  resulting  scientific  publications,  and indicate your *
23// * acceptance of all terms of the Geant4 Software license.          *
24// ********************************************************************
25//
26//
27// $Id: G4BREPSolidOpenPCone.hh,v 1.9 2006/06/29 18:37:55 gunter Exp $
28// GEANT4 tag $Name: geant4-09-02-ref-02 $
29//
30// ----------------------------------------------------------------------
31// Class G4BREPSolidOpenPCone
32//
33// Class description:
34//
35//  Definition of a generic BREP open polyconical solid:
36//
37//  G4BREPSolidOpenPCone ( const G4String& name,
38//                               G4double  start_angle,
39//                               G4double  opening_angle,                 
40//                               G4int     num_z_planes,
41//                               G4double  z_start,               
42//                               G4double  z_values[],
43//                               G4double  RMIN[],
44//                               G4double  RMAX[])
45
46// Authors: J.Sulkimo, P.Urban.
47// Revisions by: L.Broglia, G.Cosmo.
48// ----------------------------------------------------------------------
49#ifndef G4BREPSolidOpenPCone_hh
50#define G4BREPSolidOpenPCone_hh
51
52#include "G4IntersectionSolid.hh"
53
54class G4BREPSolidOpenPCone : public G4IntersectionSolid
55{
56
57 public: // with description
58 
59  G4BREPSolidOpenPCone( const G4String& name,
60                        G4double  start_angle,
61                        G4double  opening_angle,                 
62                        G4int     num_z_planes, // sections
63                        G4double  z_start,               
64                        G4double  z_values[],
65                        G4double  RMIN[],
66                        G4double  RMAX[] );
67    // Constructor defining the polycone through its
68    // conical/cylindrical surfaces.
69
70  ~G4BREPSolidOpenPCone();
71    // Empty destructor.
72
73  void DescribeYourselfTo (G4VGraphicsScene& scene) const;
74    // Dispatch function which identifies the solid to the graphics scene.
75 
76  virtual std::ostream& StreamInfo(std::ostream& os) const;
77    // Streams solid contents to output stream.
78
79 public:  // without description
80
81  G4BREPSolidOpenPCone(__void__&);
82    // Fake default constructor for usage restricted to direct object
83    // persistency for clients requiring preallocation of memory for
84    // persistifiable objects.
85
86 private:
87
88  G4BREPSolidOpenPCone(const G4BREPSolidOpenPCone&);
89  G4BREPSolidOpenPCone& operator=(const G4BREPSolidOpenPCone&);
90
91};
92
93#endif
Note: See TracBrowser for help on using the repository browser.