mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2123 Formation/Well Path: Add func to find well paths with formations
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user