#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:
Kristian Bendiksen committed 2025-03-12 13:35:05 +01:00
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 )
{