(#708) Fixed simulation well geometry and color mapping.

Had been sligtly off since 1.5.0.
This commit is contained in:
Jacob Støren
2015-12-14 11:25:55 +01:00
parent 6db74465b6
commit 4d6deef8ab

View File

@@ -184,7 +184,7 @@ void RigSimulationWellCenterLineCalculator::calculateWellPipeCenterline(RimEclip
cvf::Vec3d outOfPrevCell(centerPreviousCell);
//int intersectionOk = prevCell.firstIntersectionPoint(rayToThisCell, &outOfPrevCell);
int intersectionOk = prevCell.firstIntersectionPoint(rayToThisCell, &outOfPrevCell);
//CVF_ASSERT(intersectionOk);
//CVF_ASSERT(intersectionOk);
if ((currentPoint - outOfPrevCell).lengthSquared() > 1e-3)
@@ -282,7 +282,7 @@ void RigSimulationWellCenterLineCalculator::calculateWellPipeCenterline(RimEclip
cvf::Vec3d outOfPrevCell(centerPreviousCell);
const RigCell& prevCell = eclipseCaseData->cellFromWellResultCell(*prevWellResPoint);
//bool intersectionOk = prevCell.firstIntersectionPoint(rayToThisCell, &outOfPrevCell);
bool intersectionOk = prevCell.firstIntersectionPoint(rayToThisCell, &outOfPrevCell);
//CVF_ASSERT(intersectionOk);
//CVF_ASSERT(intersectionOk);
if ((intoThisCell - outOfPrevCell).lengthSquared() > 1e-3)