#3422 Handle straight well paths better

This commit is contained in:
Jacob Støren committed 2018-09-28 15:09:46 +02:00
1 parent 70a7b3ae5c
commit 71c36208c3
2 files changed
+8 -2

No files matched your search

@@ -395,6 +395,9 @@ std::vector<cvf::Vec3d> RimWellPathGeometryDef::lineArcEndpoints() const
RimWellPathTarget* target1 = activeWellPathTargets[tIdx];
RimWellPathTarget* target2 = activeWellPathTargets[tIdx+1];
// Ignore targets in the same place
if ((target1->targetPointXYZ() - target2->targetPointXYZ()).length() < 1e-6) continue;
target1->flagRadius2AsIncorrect(false, 0);
target2->flagRadius1AsIncorrect(false, 0);