#2940 Geomech: Use display offset for FEM parts

This commit is contained in:
Jacob Støren
2018-05-18 13:39:20 +02:00
parent 2c2a2c6102
commit 439b8e22ad
3 changed files with 21 additions and 11 deletions

View File

@@ -399,6 +399,14 @@ double RimGeoMechCase::frictionAngleDeg() const
return m_frictionAngleDeg;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
cvf::Vec3d RimGeoMechCase::displayModelOffset() const
{
return this->allCellsBoundingBox().min();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------