mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7811 Modeled Well Path : Optionally use refpoint from top level well path
This commit is contained in:
@@ -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