Skip to content

Commit

Permalink
#2605 Place perforation intervals correct horizontally in 2D Intersec…
Browse files Browse the repository at this point in the history
…tion View
  • Loading branch information
JacobStoren committed Mar 21, 2018
1 parent dd29a3c commit 39106fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ApplicationCode/ReservoirDataModel/RigWellPath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
{
Expand Down

0 comments on commit 39106fd

Please sign in to comment.