GuideToDoubleFunction

A callable struct that translates any value into a double

Members

Functions

opCall
auto opCall(T value, bool scale)

Call the function with a value

unscaled
auto unscaled(T value)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

doubleConvert
double delegate(double) doubleConvert;

Function that governs translation from double to double (continuous to continuous)

scaleFunction
Nullable!(double delegate(double)) scaleFunction;

Additional scaling of the field (i.e. log10, polar coordinates)

stringConvert
double delegate(string) stringConvert;

Function that governs translation from string to double (discrete to continuous)

Meta