#2605 Place perforation intervals correct horizontally in 2D Intersection View

This commit is contained in:
Jacob Støren 2018-03-21 14:21:27 +01:00
parent dd29a3c727
commit 39106fdf99

View File

@ -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 )
{