CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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;
15  void stream(std::ostream &) const;
16  const DDSolid & solid() { return s_; }
17  private:
19  };
20 }
21 #endif
A DDSolid represents the shape of a part.
Definition: DDSolid.h:35
void stream(std::ostream &) const
Definition: Reflection.cc:14
double volume() const
Definition: Reflection.cc:8
Reflection(const DDSolid &s)
Definition: Reflection.cc:3
const DDSolid & solid()
Definition: Reflection.h:16