CMS 3D CMS Logo

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
DDI
Definition: DDCompactView.h:25
DDSolidShape
DDSolidShape
Definition: DDSolidShapes.h:6
Solid.h
DDI::Shapeless::volume
double volume() const override
Definition: Shapeless.h:12
DDI::Shapeless::Shapeless
Shapeless()
Definition: Shapeless.h:11
DDI::Solid
Definition: Solid.h:10
DDI::Shapeless::stream
void stream(std::ostream &os) const override
Definition: Shapeless.h:13
DDI::Shapeless
Definition: Shapeless.h:9
DDSolidShape::ddshapeless