(#694) Removed assert when finding projected point on well path segment

This commit is contained in:
Magne Sjaastad 2015-12-08 15:33:42 +01:00
parent 2478898a8b
commit c8ecf78c8c

View File

@ -90,8 +90,6 @@ void RivWellPathSourceInfo::normalizedIntersection(size_t triangleIndex, const c
double norm = 0.0;
cvf::Vec3d pointOnLine = cvf::GeometryTools::projectPointOnLine(segmentStart, segmentEnd, globalIntersection, &norm);
CVF_ASSERT(0.0 < norm && norm < 1.0);
cvf::Math::clamp(norm, 0.0, 1.0);
*firstSegmentIndex = segIndex;