mirror of
https://github.com/OPM/ResInsight.git
synced 2026-08-27 05:37:21 -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:
@@ -38,8 +38,7 @@ TEST( RigWellPathGeometryExporter, VerticalPath )
|
||||
|
||||
for ( double md : inputMds )
|
||||
{
|
||||
rigWellPath.addMeasuredDepth( md );
|
||||
rigWellPath.addWellPathPoint( cvf::Vec3d( x, y, -md ) );
|
||||
rigWellPath.addWellPathPoint( cvf::Vec3d( x, y, -md ), md );
|
||||
}
|
||||
|
||||
double mdStepSize = 5.0;
|
||||
|
||||
Reference in New Issue
Block a user