#1721 Updating value used if trig calculation of azimuth value for simWell cannot be used due to 0 y component (well oriented East-West)

This commit is contained in:
astridkbjorke committed 2017-08-02 11:37:46 +02:00
1 parent d55c362bf0
commit 313752bb7c
2 files changed
+3 -3

No files matched your search

@@ -137,8 +137,8 @@ double RigSimulationWellCoordsAndMD::simWellAzimuthAngle(const cvf::Vec3d& posit
{
size_t closestIndex = findClosestIndex(position);
//For vertical well (x-component of direction = 0) returned angle will be 0.
double azimuthAngle = 0.0;
//For vertical well (x-component of direction = 0) returned angle will be 90.
double azimuthAngle = 90.0;
if (closestIndex != cvf::UNDEFINED_DOUBLE)
{
@@ -114,7 +114,7 @@ double RigWellPath::wellPathAzimuthAngle(const cvf::Vec3d& position) const
}
}
//For vertical well (x-component of direction = 0) returned angle will be 0.
//For vertical well (x-component of direction = 0) returned angle will be 90.
double AzimuthAngle = 90.0;
if (closestIndex != cvf::UNDEFINED_DOUBLE)