test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Sphere.h
Go to the documentation of this file.
1 #ifndef DDI_Sphere_h
2 #define DDI_Sphere_h
3 
4 #include <iosfwd>
5 #include "Solid.h"
6 
7 namespace DDI {
8 
9  class Sphere : public DDI::Solid
10  {
11  public:
12  Sphere(double innerRadius,
13  double outerRadius,
14  double startPhi,
15  double deltaPhi,
16  double startZ,
17  double deltaZ);
18 
19  double volume() const ;
20  void stream(std::ostream &) const;
21  };
22 
23 }
24 
25 #endif
Sphere(double innerRadius, double outerRadius, double startPhi, double deltaPhi, double startZ, double deltaZ)
Definition: Sphere.cc:8
double volume() const
Definition: Sphere.cc:35
void stream(std::ostream &) const
Definition: Sphere.cc:25