Class Math2
java.lang.Object
com.inductiveautomation.ignition.common.Math2
Contains functions we wish were in java.lang.Math
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Math2
public Math2()
-
-
Method Details
-
clamp
public static int clamp(int val, int min, int max) -
clamp
public static long clamp(long val, long min, long max) -
clamp
public static float clamp(float val, float min, float max) -
clamp
public static double clamp(double val, double min, double max)
-