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  public:
11  Sphere(double innerRadius, double outerRadius, double startPhi, double deltaPhi, double startZ, double deltaZ);
12 
13  double volume() const override;
14  void stream(std::ostream &) const override;
15  };
16 
17 } // namespace DDI
18 
19 #endif
Sphere(double innerRadius, double outerRadius, double startPhi, double deltaPhi, double startZ, double deltaZ)
Definition: Sphere.cc:14
void stream(std::ostream &) const override
Definition: Sphere.cc:25
double volume() const override
Definition: Sphere.cc:31
Definition: Assembly.h:7