CMS 3D CMS Logo

Torus.h
Go to the documentation of this file.
1 #ifndef DDI_Torus_h
2 #define DDI_Torus_h
3 
4 #include <iostream>
5 #include "Solid.h"
6 
7 namespace DDI {
8 
9  class Torus : public Solid {
10  public:
11  Torus(double pRMin, double pRMax, double pRTor, double pSPhi, double pDPhi);
12 
13  double volume() const override;
14 
15  void stream(std::ostream &) const override;
16  };
17 
18 } // namespace DDI
19 
20 #endif
DDI
Definition: DDCompactView.h:25
DDI::Torus
Definition: Torus.h:9
DDI::Torus::stream
void stream(std::ostream &) const override
Definition: Torus.cc:22
Solid.h
DDI::Solid
Definition: Solid.h:10
DDI::Torus::volume
double volume() const override
Definition: Torus.cc:27
DDI::Torus::Torus
Torus(double pRMin, double pRMax, double pRTor, double pSPhi, double pDPhi)
Definition: Torus.cc:14