Vector3 numberToPoint(double x) { var alpha = mapValue(x, xMin, xMax, 0, 1); return interpolate(getStart(), getEnd(), alpha); }