mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3422 Handle straight well paths better
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user