mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3187 symbols and labels for well path attributes, initial work.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user