Java interpolate interpolate(float bottom, float top, float ratio)

Here you can find the source of interpolate(float bottom, float top, float ratio)

Description

interpolate

License

Open Source License

Declaration

public static float interpolate(float bottom, float top, float ratio) 

Method Source Code

//package com.java2s;

public class Main {
    public static float interpolate(float bottom, float top, float ratio) {
        return bottom + (top - bottom) * ratio;
    }/*from w ww .  ja va  2s  . co m*/
}

Related

  1. interpolate(final double min, final double max, final int currentClass, final int numOfClasses)
  2. interpolate(final float prev, final float curr, final float alpha)
  3. interpolate(final int n, final int lastN, final float interpolation)
  4. interpolate(final int x1, final double y1, final int x2, final double y2, final double... f)
  5. interpolate(float a, float b, float d)
  6. interpolate(float firstColor, float secondColor, float stage, float maxStages)
  7. interpolate(float s, float e, float t)
  8. interpolate(float t, float a, float b)
  9. interpolate(float var1, float var2, float var3)