CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Shapeless.h
Go to the documentation of this file.
1 #ifndef DDI_Shapeless_h
2 #define DDI_Shapeless_h
3 
4 #include <iostream>
6 
7 namespace DDI {
8 
9  class Shapeless : public Solid {
10  public:
12  double volume() const override { return 0; }
13  void stream(std::ostream& os) const override { os << " shapeless"; }
14  };
15 } // namespace DDI
16 #endif
void stream(std::ostream &os) const override
Definition: Shapeless.h:13
double volume() const override
Definition: Shapeless.h:12
Definition: Assembly.h:7
DDSolidShape
Definition: DDSolidShapes.h:6