Engauge Digitizer 2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ExportOrdinalsSmooth Class Reference

Utility class to interpolate points spaced evenly along a piecewise defined curve with fitted spline. More...

#include <ExportOrdinalsSmooth.h>

Public Member Functions

 ExportOrdinalsSmooth ()
 Single constructor.
 
void loadSplinePairsWithoutTransformation (const Points &points, std::vector< double > &t, std::vector< SplinePair > &xy) const
 Load t (=ordinal) and xy (=screen position) spline pairs, without any conversion to graph coordinates.
 
void loadSplinePairsWithTransformation (const Points &points, const Transformation &transformation, std::vector< double > &t, std::vector< SplinePair > &xy) const
 Load t (=ordinal) and xy (=screen position) spline pairs, converting screen coordinates to graph coordinates.
 
ExportValuesOrdinal ordinalsAtIntervalsGraph (const std::vector< double > &t, const std::vector< SplinePair > &xy, double pointsInterval) const
 Perform the interpolation on the arrays loaded by the other methods.
 

Detailed Description

Utility class to interpolate points spaced evenly along a piecewise defined curve with fitted spline.

Definition at line 20 of file ExportOrdinalsSmooth.h.

Constructor & Destructor Documentation

◆ ExportOrdinalsSmooth()

ExportOrdinalsSmooth::ExportOrdinalsSmooth ( )

Single constructor.

Definition at line 17 of file ExportOrdinalsSmooth.cpp.

Member Function Documentation

◆ loadSplinePairsWithoutTransformation()

void ExportOrdinalsSmooth::loadSplinePairsWithoutTransformation ( const Points &  points,
std::vector< double > &  t,
std::vector< SplinePair > &  xy 
) const

Load t (=ordinal) and xy (=screen position) spline pairs, without any conversion to graph coordinates.

Definition at line 21 of file ExportOrdinalsSmooth.cpp.

◆ loadSplinePairsWithTransformation()

void ExportOrdinalsSmooth::loadSplinePairsWithTransformation ( const Points &  points,
const Transformation transformation,
std::vector< double > &  t,
std::vector< SplinePair > &  xy 
) const

Load t (=ordinal) and xy (=screen position) spline pairs, converting screen coordinates to graph coordinates.

Definition at line 38 of file ExportOrdinalsSmooth.cpp.

◆ ordinalsAtIntervalsGraph()

ExportValuesOrdinal ExportOrdinalsSmooth::ordinalsAtIntervalsGraph ( const std::vector< double > &  t,
const std::vector< SplinePair > &  xy,
double  pointsInterval 
) const

Perform the interpolation on the arrays loaded by the other methods.

Definition at line 59 of file ExportOrdinalsSmooth.cpp.


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