mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-10 07:26:03 -06:00
#2605 Place perforation intervals correct horizontally in 2D Intersection View
This commit is contained in:
parent
dd29a3c727
commit
39106fdf99
@ -91,7 +91,8 @@ cvf::Vec3d RigWellPath::interpolatedPointAlongWellPath(double measuredDepth, dou
|
||||
(m_measuredDepths.at(vxIdx) - m_measuredDepths.at(vxIdx - 1));
|
||||
cvf::Vec3d segment = m_wellPathPoints[vxIdx] - m_wellPathPoints[vxIdx-1];
|
||||
|
||||
wellPathPoint = m_wellPathPoints[vxIdx - 1] + segmentFraction * segment;
|
||||
segment *= segmentFraction;
|
||||
wellPathPoint = m_wellPathPoints[vxIdx - 1] + segment;
|
||||
|
||||
if ( horizontalLengthAlongWellToStartClipPoint )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user