Engauge Digitizer 2
Loading...
Searching...
No Matches
SplinePair.h File Reference
#include <ostream>
#include <QDebug>
Include dependency graph for SplinePair.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SplinePair
 Single X/Y pair for cubic spline interpolation initialization and calculations. More...

Functions

std::ostream & operator<< (std::ostream &str, const SplinePair &pair)
 Insertion operator for qDebug and Logger.
QDebug operator<< (QDebug debug, const SplinePair &pair)

Function Documentation

◆ operator<<() [1/2]

QDebug operator<< ( QDebug debug,
const SplinePair & pair )

Definition at line 83 of file SplinePair.cpp.

84{
85 QDebugStateSaver saver(dbg);
86 dbg.nospace() << "(" << pair.x() << "," << pair.y() << ")";
87
88 return dbg;
89}
double y() const
Get method for y.
double x() const
Get method for x.

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream & str,
const SplinePair & pair )

Insertion operator for qDebug and Logger.