File indexing completed on 2024-04-06 12:05:24
0001 #ifndef DDI_ExtrudedPolygon_h
0002 #define DDI_ExtrudedPolygon_h
0003
0004 #include <iosfwd>
0005 #include <vector>
0006
0007 #include "Solid.h"
0008
0009 namespace DDI {
0010
0011 class ExtrudedPolygon : public Solid {
0012 public:
0013
0014
0015
0016 ExtrudedPolygon(const std::vector<double>& x,
0017 const std::vector<double>& y,
0018 const std::vector<double>& z,
0019 const std::vector<double>& zx,
0020 const std::vector<double>& zy,
0021 const std::vector<double>& zscale);
0022
0023 double volume() const override;
0024 void stream(std::ostream&) const override;
0025 };
0026 }
0027 #endif