CFEL - ASG Software Suite  2.5.0
CASS
Functions
curve_plot.cpp File Reference

contains an alternative curve plot More...

#include <cmath>
#include <QtCore/QDebug>
#include <qwt_scale_map.h>
#include "curve_plot.h"
+ Include dependency graph for curve_plot.cpp:

Go to the source code of this file.

Functions

bool validate (const QPointF &sample, const QwtScaleMap &xMap, const QwtScaleMap &yMap)
 extract point coordinates and check if they are valid More...
 

Detailed Description

contains an alternative curve plot

Author
Lutz Foucar

Definition in file curve_plot.cpp.

Function Documentation

bool validate ( const QPointF sample,
const QwtScaleMap &  xMap,
const QwtScaleMap &  yMap 
)

extract point coordinates and check if they are valid

Returns
true when both coordinates are finite numbers
Parameters
samplethe point to check
xMap
yMap
Author
Lutz Foucar

Definition at line 39 of file curve_plot.cpp.

References QPointF::x(), and QPointF::y().

Referenced by jocassview::PlotCurve::drawSeries().