mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#906 Las Export: Fixed issue with TVDRKB export and improved UI
This commit is contained in:
@@ -642,8 +642,15 @@ double RimWellLogExtractionCurve::rkbDiff() const
|
||||
{
|
||||
if (m_wellPath && m_wellPath->wellPathGeometry())
|
||||
{
|
||||
return cvf::Math::abs(m_wellPath->wellPathGeometry()->m_measuredDepths[0] - m_wellPath->wellPathGeometry()->m_wellPathPoints[0].z());
|
||||
RigWellPath* geo = m_wellPath->wellPathGeometry();
|
||||
|
||||
if (geo->m_wellPathPoints.size() > 0 && geo->m_measuredDepths.size() > 0)
|
||||
{
|
||||
double diff = cvf::Math::abs(cvf::Math::abs(geo->m_wellPathPoints[0].z()) - geo->m_measuredDepths[0]);
|
||||
|
||||
return diff;
|
||||
}
|
||||
}
|
||||
|
||||
return HUGE_VAL;
|
||||
return -1.0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user