double (double value, @NotNull DerivedScaleType type) { return switch (type) { case DEV_SCALE -> value * getScale(DEV_SCALE); case EFF_USR_SCALE, PIX_SCALE -> scaler.scaleVal(value) * getScale(OBJ_SCALE); }; }