Mesh: avoid problematic const_cast

This commit is contained in:
wmayer
2022-05-17 11:54:11 +02:00
parent 6a3281438f
commit abc5413b34
4 changed files with 39 additions and 25 deletions

View File

@@ -1053,7 +1053,7 @@ void MeshKernel::Smooth(int iterations, float stepsize)
LaplaceSmoothing(*this).Smooth(iterations);
}
void MeshKernel::RecalcBoundBox ()
void MeshKernel::RecalcBoundBox () const
{
_clBoundBox.SetVoid();
for (MeshPointArray::_TConstIterator pI = _aclPointArray.begin(); pI != _aclPointArray.end(); pI++)