CMS 3D CMS Logo

Assembly.h
Go to the documentation of this file.
1 #ifndef DDD_DDI_ASSEMBLY_H
2 #define DDD_DDI_ASSEMBLY_H
3 
4 #include <iostream>
5 #include "Solid.h"
6 
7 namespace DDI {
8 
9  class Assembly : public Solid {
10  public:
11  Assembly();
12 
13  double volume() const override { return -1; }
14 
15  void stream(std::ostream& os) const override;
16  };
17 } // namespace DDI
18 
19 #endif
DDI
Definition: DDCompactView.h:25
DDI::Assembly::volume
double volume() const override
Definition: Assembly.h:13
Solid.h
DDI::Assembly::stream
void stream(std::ostream &os) const override
Definition: Assembly.cc:8
DDI::Assembly
Definition: Assembly.h:9
DDI::Solid
Definition: Solid.h:10
DDI::Assembly::Assembly
Assembly()
Definition: Assembly.cc:6