Engauge Digitizer 2
Loading...
Searching...
No Matches
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.

Constructor & Destructor Documentation

◆ OrdinalGenerator()

OrdinalGenerator::OrdinalGenerator ( )

Definition at line 12 of file OrdinalGenerator.cpp.

Member Function Documentation

◆ generateAxisPointOrdinal()

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.

◆ generateCurvePointOrdinal()

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.


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