# MathHelper Members

The following tables list the members exposed by the MathHelper type.

## Public Fields

NameDescription
ERepresents the mathematical constant e.
Log10ERepresents the log base ten of e.
Log2ERepresents the log base two of e.
PiRepresents the value of pi.
PiOver2Represents the value of pi divided by two.
PiOver4Represents the value of pi divided by four.
TwoPiRepresents the value of pi times two.

## Public Methods

NameDescription
BarycentricReturns the Cartesian coordinate for one axis of a point that is defined by a given triangle and two normalized barycentric (areal) coordinates.
CatmullRomPerforms a Catmull-Rom interpolation using the specified positions.
ClampRestricts a value to be within a specified range.
DistanceCalculates the absolute value of the difference of two values.
HermitePerforms a Hermite spline interpolation.
LerpLinearly interpolates between two values.
MaxReturns the greater of two values.
MinReturns the lesser of two values.
SmoothStepInterpolates between two values using a cubic equation.