Allow well target list to consume available space

This commit is contained in:
Magne Sjaastad
2022-10-31 10:18:40 +01:00
parent 4d5ceb0441
commit a577545212
4 changed files with 56 additions and 4 deletions

View File

@@ -79,7 +79,7 @@ void RiaPolyArcLineSampler::sampleSegment( cvf::Vec3d t1, cvf::Vec3d p1, cvf::Ve
{
cvf::Vec3d p1p2 = p2 - p1;
CVF_ASSERT( p1p2.lengthSquared() > 1e-20 );
if ( p1p2.lengthSquared() < 1e-20 ) return;
if ( cvf::GeometryTools::getAngle( t1, p1p2 ) < 1e-5 || p1p2.length() < m_maxSamplingsInterval )
{