This commit is contained in:
Magne Sjaastad
2018-04-23 23:06:21 +02:00
parent a9b1883dc8
commit 9ac3d806e2
3 changed files with 6 additions and 8 deletions

View File

@@ -111,7 +111,7 @@ bool RivWellPathPartMgr::isWellPathWithinBoundingBox(const cvf::BoundingBox& wel
relevantWellpathBBox.add(casemax + addSize);
relevantWellpathBBox.add(casemin - addSize);
if (!RigWellPath::isPolylineTouchingBBox(wellpathCenterLine, relevantWellpathBBox))
if (!RigWellPath::isAnyPointInsideBoundingBox(wellpathCenterLine, relevantWellpathBBox))
{
return false;
}