#3187 symbols and labels for well path attributes, initial work.

This commit is contained in:
Gaute Lindkvist
2018-08-30 14:03:58 +02:00
parent 46c5bbf4c6
commit adc9ad322a
16 changed files with 472 additions and 62 deletions

View File

@@ -56,46 +56,22 @@ RimWellLogCurve::~RimWellLogCurve()
{
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RimWellLogCurve::depthRange(double* minimumDepth, double* maximumDepth) const
{
CVF_ASSERT(minimumDepth && maximumDepth);
CVF_ASSERT(m_qwtPlotCurve);
if (m_qwtPlotCurve->data()->size() < 1)
{
return false;
}
*minimumDepth = m_qwtPlotCurve->minYValue();
*maximumDepth = m_qwtPlotCurve->maxYValue();
return true;
return yValueRange(minimumDepth, maximumDepth);
}
//--------------------------------------------------------------------------------------------------
///
///
//--------------------------------------------------------------------------------------------------
bool RimWellLogCurve::valueRange(double* minimumValue, double* maximumValue) const
{
CVF_ASSERT(minimumValue && maximumValue);
CVF_ASSERT(m_qwtPlotCurve);
if (m_qwtPlotCurve->data()->size() < 1)
{
return false;
}
*minimumValue = m_qwtPlotCurve->minXValue();
*maximumValue = m_qwtPlotCurve->maxXValue();
return true;
return xValueRange(minimumValue, maximumValue);
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------