Class com.boostworthy.utils.MathUtil
- com.boostworthy.utils.MathUtil
Method Index
Combinations(),
DegreesToRadians(),
Factorial(),
FindDistance2D(),
FindDistance3D(),
GetRandomColor(),
GetRandomID(),
GetRandomNumber(),
InterpolateRange(),
IsEven(),
IsFloat(),
IsInteger(),
IsOdd(),
Permutations(),
RadiansToDegrees(),
Round(),
StandardizeAngle()Method Detail
GetRandomNumber
static public function GetRandomNumber(nMin:Number, nMax:Number):NumberGetRandomColor
static public function GetRandomColor(Void):NumberGetRandomID
static public function GetRandomID(Void):NumberInterpolateRange
static public function InterpolateRange(nValue:Number, nMin:Number, nMax:Number, nMin_New:Number, nMax_New:Number):NumberIsOdd
static public function IsOdd(nValue:Number):BooleanIsEven
static public function IsEven(nValue:Number):BooleanIsInteger
static public function IsInteger(nValue:Number):BooleanIsFloat
static public function IsFloat(nValue:Number):BooleanRound
static public function Round(nValue:Number, nDecimals:Number):NumberFindDistance2D
static public function FindDistance2D(nX1:Number, nY1:Number, nX2:Number, nY2:Number):NumberFindDistance3D
static public function FindDistance3D(nX1:Number, nY1:Number, nZ1:Number, nX2:Number, nY2:Number, nZ2:Number):NumberDegreesToRadians
static public function DegreesToRadians(nDegrees:Number):NumberRadiansToDegrees
static public function RadiansToDegrees(nRadians:Number):NumberStandardizeAngle
static public function StandardizeAngle(nDegrees:Number):NumberFactorial
static public function Factorial(nValue:Number):NumberPermutations
static public function Permutations(nSequenceLength:Number, nPermutationLength:Number):NumberCombinations
static public function Combinations(nSequenceLength:Number, nCombinationLength:Number):Number