CMS 3D CMS Logo

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:13
double volume() const
Definition: Sphere.cc:40
Definition: rep_type.h:4
void stream(std::ostream &) const
Definition: Sphere.cc:30