Refactor RimWellPath and RigWellPath

This commit is contained in:
Gaute Lindkvist
2020-10-06 12:37:16 +02:00
parent c29cf315d2
commit aceac43652
83 changed files with 853 additions and 723 deletions

View File

@@ -54,12 +54,10 @@ RiuWellPathComponentPlotItem::RiuWellPathComponentPlotItem( const RimWellPath* w
, m_showLabel( false )
{
CVF_ASSERT( wellPath && wellPath->wellPathGeometry() );
double wellStart = 0.0;
double wellEnd = wellPath->wellPathGeometry()->measureDepths().back();
m_startMD = wellStart;
m_endMD = wellEnd;
m_label = wellPath->name();
m_legendTitle = "Well Tube";
m_startMD = wellPath->startMD();
m_endMD = wellPath->endMD();
m_label = wellPath->name();
m_legendTitle = "Well Tube";
}
//--------------------------------------------------------------------------------------------------