#include <Plot2d.h>
Public Member Functions | |
Plot2d_Point () | |
Plot2d_Point (double theX, double theY, const QString &theText=QString()) | |
~Plot2d_Point () | |
bool | deviation (double &min, double &max) const |
bool | hasDeviation () const |
void | setDeviation (double min, double max) |
void | clearDeviation () |
bool | minDeviation (double &min) const |
bool | maxDeviation (double &max) const |
Public Attributes | |
double | x |
double | y |
double * | deviationPtr |
QString | text |
Plot2d_Point::Plot2d_Point | ( | ) |
Constructor
Plot2d_Point::Plot2d_Point | ( | double | theX, |
double | theY, | ||
const QString & | theText = QString() |
||
) |
Constructor
Plot2d_Point::~Plot2d_Point | ( | ) |
Destructor.
References clearDeviation().
void Plot2d_Point::clearDeviation | ( | ) |
Free memory allocated for the deviation data.
References deviationPtr.
bool Plot2d_Point::deviation | ( | double & | min, |
double & | max | ||
) | const |
Return true in case if deviation data is assigned to the point and store deviation data in the input parameters.
References deviationPtr, and hasDeviation().
bool Plot2d_Point::hasDeviation | ( | ) | const |
Return true in case if deviation data is assigned to the point.
References deviationPtr.
bool Plot2d_Point::maxDeviation | ( | double & | max | ) | const |
Return minimal deviation value.
References deviationPtr, and hasDeviation().
bool Plot2d_Point::minDeviation | ( | double & | min | ) | const |
Return minimal deviation value.
References deviationPtr, and hasDeviation().
void Plot2d_Point::setDeviation | ( | double | min, |
double | max | ||
) |
Assign deviation data to the point.
References clearDeviation(), and deviationPtr.
double* Plot2d_Point::deviationPtr |
QString Plot2d_Point::text |
double Plot2d_Point::x |
double Plot2d_Point::y |