#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
2025-03-12 13:35:05 +01:00
parent 61ff5748ce
commit a222b8fdcb
8 changed files with 12 additions and 36 deletions
@@ -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;