float dot_to_alpha(float dot) { float f = MathUtil.WyvillRise01(dot); if (f < AlphaCutoff) { f = 0; } return(f); }