Mesh: reduce the use of const_cast in Mesh module

This commit is contained in:
wmayer
2022-05-18 18:17:45 +02:00
committed by wwmayer
parent 3fe41efa9f
commit 8a81ff174b
16 changed files with 104 additions and 135 deletions

View File

@@ -538,6 +538,16 @@ void PropertyMeshKernel::setPointIndices(const std::vector<std::pair<PointIndex,
hasSetValue();
}
void PropertyMeshKernel::setTransform(const Base::Matrix4D& rclTrf)
{
_meshObject->setTransform(rclTrf);
}
Base::Matrix4D PropertyMeshKernel::getTransform() const
{
return _meshObject->getTransform();
}
PyObject *PropertyMeshKernel::getPyObject()
{
if (!meshPyObject) {