Click or drag to resize

MathEx Class

Provides static methods for common mathematical functions.
Inheritance Hierarchy
SystemObject
  SystemMathEx

Namespace:  System
Assembly:  Cauldron (in Cauldron.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static class MathEx

The MathEx type exposes the following members.

Methods
  NameDescription
Public methodStatic memberClamp(Double, Double, Double)
Clamps a value between a minimum and maximum value.
Public methodStatic memberClamp(Int32, Int32, Int32)
Clamps a value between a minimum and maximum value.
Public methodStatic memberDegreesToRadians
Converts degrees to radians
Public methodStatic memberRadiansToDegrees
Converts radians to degrees
Public methodStatic memberValueOf(Double, Double, Double)
Calculates the percentage relationship of two values
Public methodStatic memberValueOf(Int32, Int32, Int32)
Calculates the percentage relationship of two values
Public methodStatic memberValueOf(Int64, Int64, Int64)
Calculates the percentage relationship of two values
Public methodStatic memberValueOf(Single, Single, Single)
Calculates the percentage relationship of two values
Public methodStatic memberValueOf(Double, Double, Double, Double, Double)
Calculates the percentage relationship of two values
Public methodStatic memberValueOf(Int32, Int32, Int32, Int32, Int32)
Calculates the percentage relationship of two values
Public methodStatic memberValueOf(Int64, Int64, Int64, Int64, Int64)
Calculates the percentage relationship of two values
Public methodStatic memberValueOf(Single, Single, Single, Single, Single)
Calculates the percentage relationship of two values
Top
See Also