mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -05:00
#7811 Modeled Well Path : Optionally use refpoint from top level well path
This commit is contained in:
1 parent
62d67a52c7
commit
d818a01b79
8 files changed
+83
-9
No files matched your search
+1
-1
@@ -92,6 +92,7 @@ RimWellPath* RicNewWellPathLateralAtDepthFeature::createLateralAtMeasuredDepth(
|
||||
if ( project && wellPathColl )
|
||||
{
|
||||
auto newModeledWellPath = new RimModeledWellPath();
|
||||
newModeledWellPath->geometryDefinition()->enableReferencePointFromTopLevelWell( true );
|
||||
|
||||
if ( parentWellPath->wellPathGeometry() && parentWellPath->wellPathGeometry()->measuredDepths().size() > 2 )
|
||||
{
|
||||
@@ -100,7 +101,6 @@ RimWellPath* RicNewWellPathLateralAtDepthFeature::createLateralAtMeasuredDepth(
|
||||
->clippedPointSubset( parentWellPath->wellPathGeometry()->measuredDepths().front(), parentWellMD );
|
||||
|
||||
newModeledWellPath->geometryDefinition()->setMdAtFirstTarget( measuredDepths.back() );
|
||||
// newModeledWellPath->geometryDefinition()->setReferencePointXyz( pointVector.back() );
|
||||
newModeledWellPath->geometryDefinition()->setFixedWellPathPoints( pointVector );
|
||||
newModeledWellPath->geometryDefinition()->setFixedMeasuredDepths( measuredDepths );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user