Engauge Digitizer  2
Public Member Functions | List of all members
OrdinalGenerator Class Reference

Utility class for generating ordinal numbers. More...

#include <OrdinalGenerator.h>

Public Member Functions

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.
 

Detailed Description

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.


The documentation for this class was generated from the following files: