#include <Reflection.h>
Public Member Functions | |
Reflection (const DDSolid &s) | |
const DDSolid & | solid () |
void | stream (std::ostream &) const |
double | volume () const |
Private Attributes | |
DDSolid | s_ |
Definition at line 10 of file Reflection.h.
DDI::Reflection::Reflection | ( | const DDSolid & | s | ) |
Definition at line 3 of file Reflection.cc.
: Solid(ddreflected), s_(s) { }
const DDSolid& DDI::Reflection::solid | ( | void | ) | [inline] |
Definition at line 16 of file Reflection.h.
References s_.
Referenced by DDReflectionSolid::unreflected().
{ return s_; }
void DDI::Reflection::stream | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from DDI::Solid.
Definition at line 14 of file Reflection.cc.
{ os << " reflection solid of " << s_; }
double DDI::Reflection::volume | ( | void | ) | const [virtual] |
Reimplemented from DDI::Solid.
Definition at line 8 of file Reflection.cc.
DDSolid DDI::Reflection::s_ [private] |
Definition at line 18 of file Reflection.h.
Referenced by solid().