#2123 Formation/Well Path: Add func to find well paths with formations

This commit is contained in:
Rebecca Cox
2017-11-27 14:36:19 +01:00
parent bdc680bc03
commit a724049487
4 changed files with 48 additions and 0 deletions

View File

@@ -726,6 +726,27 @@ bool RimWellPath::readWellPathFormationsFile(QString* errorMessage, RifWellPathF
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RimWellPath::hasFormations() const
{
if (m_wellPathFormations.isNull())
{
return false;
}
return true;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
const RigWellPathFormations* RimWellPath::formationsGeometry() const
{
return m_wellPathFormations.p();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------