#2578 Fix avoid UTM coordinates in 2D intersection View (behind the scenes)

This commit is contained in:
Jacob Støren
2018-03-06 15:14:54 +01:00
parent b13422d28b
commit 91daf49e8a
5 changed files with 22 additions and 4 deletions

View File

@@ -392,11 +392,12 @@ void RimIntersection::updateAzimuthLine()
//--------------------------------------------------------------------------------------------------
std::vector< std::vector <cvf::Vec3d> > RimIntersection::polyLines(double * horizontalLengthAlongWellToPolylineStart) const
{
CVF_ASSERT(horizontalLengthAlongWellToPolylineStart != nullptr);
if (horizontalLengthAlongWellToPolylineStart) *horizontalLengthAlongWellToPolylineStart = 0.0;
std::vector< std::vector <cvf::Vec3d> > lines;
double horizontalProjectedLengthAlongWellPathToClipPoint = 0.0;
if (horizontalLengthAlongWellToPolylineStart) *horizontalLengthAlongWellToPolylineStart = 0.0;
if (type == CS_WELL_PATH)
{
if (wellPath() && wellPath->wellPathGeometry() )