source: trunk/source/geometry/solids/BREPS/include/G4BREPSolidCylinder.hh@ 1104

Last change on this file since 1104 was 1058, checked in by garnier, 17 years ago

file release beta

File size: 3.6 KB
RevLine 
[831]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: G4BREPSolidCylinder.hh,v 1.10 2006/06/29 18:37:53 gunter Exp $
[1058]28// GEANT4 tag $Name: geant4-09-02-ref-02 $
[831]29//
30// ----------------------------------------------------------------------
31// Class G4BREPSolidCylinder
32//
33// Class description:
34//
35// Definition of a generic BREP cylinder:
36//
37// G4BREPSolidCylinder(const G4String& name,
38// const G4ThreeVector& origin,
39// const G4ThreeVector& axis,
40// const G4ThreeVector& direction,
41// G4double radius,
42// G4double length)
43
44// Authors: J.Sulkimo, P.Urban.
45// Revisions by: L.Broglia, G.Cosmo.
46// ----------------------------------------------------------------------
47#ifndef __G4BREPSolidCylinder
48#define __G4BREPSolidCylinder
49
50#include "G4BREPSolid.hh"
51
52class G4BREPSolidCylinder : public G4BREPSolid
53{
54
55 public: // with description
56
57 G4BREPSolidCylinder(const G4String& name,
58 const G4ThreeVector& origin,
59 const G4ThreeVector& axis,
60 const G4ThreeVector& direction,
61 G4double radius,
62 G4double length);
63 // Constructor defining the cylinder through planes
64 // and circular surfaces.
65
66 ~G4BREPSolidCylinder();
67 // Empty destructor.
68
69 virtual std::ostream& StreamInfo(std::ostream& os) const;
70 // Streams solid contents to output stream.
71
72 public: // without description
73
74 G4BREPSolidCylinder(__void__&);
75 // Fake default constructor for usage restricted to direct object
76 // persistency for clients requiring preallocation of memory for
77 // persistifiable objects.
78
79 private:
80
81 G4BREPSolidCylinder(const G4BREPSolidCylinder&);
82 G4BREPSolidCylinder& operator=(const G4BREPSolidCylinder&);
83 // Private copy constructor and assignment operator.
84
85 struct G4BREPCylinderParams
86 {
87 G4ThreeVector origin;
88 G4ThreeVector axis;
89 G4ThreeVector direction;
90 G4double length;
91 G4double radius;
92 } constructorParams;
93};
94
95#endif
Note: See TracBrowser for help on using the repository browser.