Minor refactor: extract method extracting values.

This commit is contained in:
Kristian Bendiksen
2024-01-05 12:57:39 +01:00
committed by jonjenssen
parent 45c32a4ebb
commit f81dcbd2dc
3 changed files with 32 additions and 13 deletions

View File

@@ -28,6 +28,7 @@
class RigWellPath;
class RigEclipseWellLogExtractor;
class RigEclipseCaseData;
class RigResultAccessor;
//==================================================================================================
///
@@ -51,6 +52,10 @@ public:
static std::vector<double> generateMds( const std::vector<cvf::Vec3d>& points );
static std::pair<std::vector<double>, std::vector<cvf::Vec3d>> extractValuesAndIntersections( const RigResultAccessor& resultAccessor,
RigEclipseWellLogExtractor& extractor,
const RigWellPath& wellPath );
protected:
static std::pair<int, int> findIntersectionsForTvd( const std::vector<cvf::Vec3d>& intersections, double tvd );
static std::pair<int, int> findOverburdenAndUnderburdenIndex( const std::vector<double>& values );