static double transformToZeroToOne(double x, DoubleRange src) { ret doubleRatio(x-src.start, src.length()); }