mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-29 08:30:17 -05:00
#1479 RigWellPath: improve api to force pairs of points and measured depths.
Refactored RigWellPath to ensure that a well path points and measured depths always come pairs, as their usage often relies on both being present. Fixes #1479.
This commit is contained in:
1 parent
61ff5748ce
commit
a222b8fdcb
8 files changed
+12
-36
No files matched your search
@@ -294,8 +294,7 @@ cvf::ref<RigWellPath>
|
||||
measuredDepths.push_back( md + startMD );
|
||||
}
|
||||
}
|
||||
wellPathGeometry->setWellPathPoints( wellPathPoints );
|
||||
wellPathGeometry->setMeasuredDepths( measuredDepths );
|
||||
wellPathGeometry->setWellPathPoints( wellPathPoints, measuredDepths );
|
||||
|
||||
if ( m_airGap != 0.0 )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user