Skip to content
Snippets Groups Projects
Commit 78d9b8da authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Add setTransformable() and variants

parent 799f19f4
No related branches found
No related tags found
2 merge requests!466devel->main,!456Resolve "Migrate from StateBlock to StateDerived"
......@@ -182,9 +182,13 @@ public:
bool isTransformable() const {
return transformable_;
};
}
virtual void transform(const VectorComposite& _transformation) { };
void setTransformable(bool _trf = true) {transformable_ = _trf;}
void setNonTransformable() {transformable_ = false;}
virtual void transform(const VectorComposite& _transformation) {};
void plus(const Eigen::VectorXd& _dv);
......
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