Add support for estimating md from well path as well

This commit is contained in:
Gaute Lindkvist
2019-09-03 16:01:55 +02:00
parent 6c7325b575
commit ea8a43a724
4 changed files with 47 additions and 9 deletions

View File

@@ -408,3 +408,16 @@ const std::vector<double>& RigWellPath::measureDepths() const
return m_measuredDepths;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
std::vector<double> RigWellPath::trueVerticalDepths() const
{
std::vector<double> tvds;
for (const cvf::Vec3d& point : m_wellPathPoints)
{
tvds.push_back(std::fabs(point.z()));
}
return tvds;
}