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

prepare ...

parent 60ad947d
No related branches found
No related tags found
1 merge request!560Resolve Decorator Pattern in IFormFactor hierarchy
...@@ -20,6 +20,7 @@ FormFactorDecoratorPositionFactor::FormFactorDecoratorPositionFactor(const IDeco ...@@ -20,6 +20,7 @@ FormFactorDecoratorPositionFactor::FormFactorDecoratorPositionFactor(const IDeco
const R3& position) const R3& position)
: DecoratedFF(ff), m_position(position) : DecoratedFF(ff), m_position(position)
{ {
setPosition(position);
} }
double FormFactorDecoratorPositionFactor::bottomZ(const IRotation* rotation) const double FormFactorDecoratorPositionFactor::bottomZ(const IRotation* rotation) const
......
...@@ -21,6 +21,7 @@ FormFactorDecoratorRotation::FormFactorDecoratorRotation(const IDecoratableBorn& ...@@ -21,6 +21,7 @@ FormFactorDecoratorRotation::FormFactorDecoratorRotation(const IDecoratableBorn&
const RotMatrix& rotMatrix) const RotMatrix& rotMatrix)
: DecoratedFF(ff), m_rotMatrix(std::make_unique<RotMatrix>(rotMatrix)) : DecoratedFF(ff), m_rotMatrix(std::make_unique<RotMatrix>(rotMatrix))
{ {
setRotMatrix(rotMatrix);
} }
FormFactorDecoratorRotation::~FormFactorDecoratorRotation() = default; FormFactorDecoratorRotation::~FormFactorDecoratorRotation() = default;
......
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