CMS 3D CMS Logo

Reflection.h
Go to the documentation of this file.
1 #ifndef DDI_Reflection_h
2 #define DDI_Reflection_h
3 
4 #include <iostream>
5 #include "Solid.h"
7 
8 namespace DDI {
9 
10  class Reflection : public Solid
11  {
12  public:
13  Reflection(const DDSolid & s);
14  double volume() const override;
15  void stream(std::ostream &) const override;
16  const DDSolid & solid() const { return s_; }
17  private:
19  };
20 }
21 #endif
A DDSolid represents the shape of a part.
Definition: DDSolid.h:38
double volume() const override
Definition: Reflection.cc:12
void stream(std::ostream &) const override
Definition: Reflection.cc:17
Reflection(const DDSolid &s)
Definition: Reflection.cc:8
const DDSolid & solid() const
Definition: Reflection.h:16