#7158 Fix water depth calculation for WBS plot.

The first intersection between the well path and the GeoMech model
is the correct water depth only when well path starts outside the model.

Top of the bounding box is used as an estimated water depth when
there is no intersection. WBS curves are now disabled for this case.
This commit is contained in:
Kristian Bendiksen
2021-01-15 10:32:36 +01:00
committed by Magne Sjaastad
parent ee29349d5e
commit d73bd60825
7 changed files with 99 additions and 31 deletions

View File

@@ -293,8 +293,8 @@ private:
void handleWheelEvent( QWheelEvent* event ) override;
void doUpdateLayout() override;
std::vector<std::pair<double, double>> waterAndRockRegions( RiaDefines::DepthTypeEnum depthType,
const RigWellLogExtractor* extractor ) const;
std::vector<std::pair<double, double>> waterAndRockRegions( RiaDefines::DepthTypeEnum depthType,
const RigGeoMechWellLogExtractor* extractor ) const;
void connectCurveSignals( RimWellLogCurve* curve );