CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Reflection.cc
Go to the documentation of this file.
2 
4  : Solid(ddreflected), s_(s)
5 { }
6 
7 
8 double DDI::Reflection::volume() const
9 {
10  return s_.isDefined().second ? s_.volume() : -1.;
11 }
12 
13 
14 void DDI::Reflection::stream(std::ostream & os) const
15 {
16  os << " reflection solid of " << s_;
17 }
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