Skip to content
Snippets Groups Projects
Commit 3bc39d93 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

pass P arguments through FormFactorPolyhedron

parent 5559a932
No related branches found
No related tags found
No related merge requests found
...@@ -420,6 +420,15 @@ void FormFactorPolyhedron::setLimits(double _q, int _n) ...@@ -420,6 +420,15 @@ void FormFactorPolyhedron::setLimits(double _q, int _n)
} }
#endif #endif
FormFactorPolyhedron::FormFactorPolyhedron(
const INode* parent, const std::vector<const char*> PName,
const std::vector<const char*> PUnit,
const std::vector<double> PMin, const std::vector<double> PMax,
const std::vector<double> PDefault, std::vector<double> P)
: IFormFactorBorn{parent, PName, PUnit, PMin, PMax, PDefault, P}
{
}
//! Called by child classes to set faces and other internal variables. //! Called by child classes to set faces and other internal variables.
void FormFactorPolyhedron::setPolyhedron(const PolyhedralTopology& topology, double z_bottom, void FormFactorPolyhedron::setPolyhedron(const PolyhedralTopology& topology, double z_bottom,
......
...@@ -105,6 +105,13 @@ public: ...@@ -105,6 +105,13 @@ public:
#endif #endif
FormFactorPolyhedron() {} FormFactorPolyhedron() {}
FormFactorPolyhedron(const INode* parent,
const std::vector<const char*> PName,
const std::vector<const char*> PUnit,
const std::vector<double> PMin,
const std::vector<double> PMax,
const std::vector<double> PDefault,
std::vector<double> P);
double bottomZ(const IRotation& rotation) const override final; double bottomZ(const IRotation& rotation) const override final;
double topZ(const IRotation& rotation) const override final; double topZ(const IRotation& rotation) const override final;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment