11#include <top/dbobjects/TOPGeoBase.h>
56 const std::string& material,
57 const std::string& edgeMaterial,
58 const std::string& name =
"TOPHoneycombPanel"):
TOPGeoBase(name),
125 void appendContour(std::vector<std::pair<double, double> >& contour,
127 bool fromLeftToRight)
const;
139 virtual void print(
const std::string& title =
"QBB honeycomb panel geometry parameters")
const override;
Base class for geometry parameters.
Geometry parameters of honeycomb panel.
double getWidth() const
Returns panel width.
int m_N
number of flat surfaces to approximate curved surface
double getMaxThickness() const
Returns panel maximal thickness.
TOPGeoHoneycombPanel(double width, double length, double minThickness, double maxThickness, double radius, double edgeWidth, double y, int N, const std::string &material, const std::string &edgeMaterial, const std::string &name="TOPHoneycombPanel")
Full constructor.
std::string m_material
material name
std::string m_edgeMaterial
material name of reinforced edge
const std::string & getEdgeMaterial() const
Returns material name of reinforced edge.
float m_radius
radius of curved surface
double getMinThickness() const
Returns panel minimal thickness.
float m_minThickness
minimal thickness
ClassDefOverride(TOPGeoHoneycombPanel, 1)
ClassDef.
TOPGeoHoneycombPanel()
Default constructor.
double getY() const
Returns y position of the flat surface in local (bar) frame.
const std::string & getMaterial() const
Returns material name.
double getRadius() const
Returns radius of curved surface.
float m_y
y position of the flat surface in local (bar) frame
float m_maxThickness
maximal thickness
float m_edgeWidth
width of the reinforced edge
double getEdgeWidth() const
Returns width of the reinforced edge.
double getLength() const
Returns panel length.
bool isConsistent() const override
Check for consistency of data members.
static double s_unit
conversion unit for length
void appendContour(std::vector< std::pair< double, double > > &contour, double y0, bool fromLeftToRight) const
Appends curved surface to contour.
virtual void print(const std::string &title="QBB honeycomb panel geometry parameters") const override
Print the content of the class.
Abstract base class for different kinds of events.