Allow access to transformation variables

This commit is contained in:
Hrvoje Jasak 2013-10-29 10:21:59 +00:00
parent cb05e68fc7
commit 1db9942846

View file

@ -188,18 +188,36 @@ public:
return separationOffset_;
}
//- Return access to separation offset
vector& separationOffset()
{
return separationOffset_;
}
//- Return rotation axis
const vector& rotationAxis() const
{
return rotationAxis_;
}
//- Return access tp rotation axis
vector& rotationAxis()
{
return rotationAxis_;
}
//- Return rotation angle
const scalar& rotationAngle() const
{
return rotationAngle_;
}
//- Return access to rotation angle
scalar& rotationAngle()
{
return rotationAngle_;
}
//- Write
virtual void write(Ostream&) const;
};