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;
15  void stream(std::ostream &) const;
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
void stream(std::ostream &) const
Definition: Reflection.cc:19
double volume() const
Definition: Reflection.cc:13
Definition: rep_type.h:4
Reflection(const DDSolid &s)
Definition: Reflection.cc:8
const DDSolid & solid() const
Definition: Reflection.h:16