Engauge Digitizer 2
|
Utility class for generating ordinal numbers. More...
#include <OrdinalGenerator.h>
Public Member Functions | |
OrdinalGenerator () | |
double | generateAxisPointOrdinal (const Document &document) |
Select ordinal just for uniqueness, since there is never a curve drawn through the axis points. | |
double | generateCurvePointOrdinal (const Document &document, const Transformation &transformation, const QPointF &posScreen, const QString &curveName) |
Select ordinal so new point curve passes smoothly through existing points. |
Utility class for generating ordinal numbers.
For axis points, the ordinals are arbitrary but must be unique. For curve points, point is inserted according to its position and the CurveStyle settings
Definition at line 18 of file OrdinalGenerator.h.
OrdinalGenerator::OrdinalGenerator | ( | ) |
Definition at line 12 of file OrdinalGenerator.cpp.
double OrdinalGenerator::generateAxisPointOrdinal | ( | const Document & | document | ) |
Select ordinal just for uniqueness, since there is never a curve drawn through the axis points.
Definition at line 16 of file OrdinalGenerator.cpp.
double OrdinalGenerator::generateCurvePointOrdinal | ( | const Document & | document, |
const Transformation & | transformation, | ||
const QPointF & | posScreen, | ||
const QString & | curveName ) |
Select ordinal so new point curve passes smoothly through existing points.
Definition at line 34 of file OrdinalGenerator.cpp.