Provides static methods for uncommon mathematical functions.
public static class MathUtility
name | description |
---|---|
static CalculateEuclidianDistance(…) | Calculates the euclidian distance between two points. (2 methods) |
static Clamp(…) | Clamps the specified value between a minimum and maximum. |
static CreateUnitVectorWithAngle(…) | |
static DegreesToRadians(…) | Converts degrees to radians. |
static EllipseLineIntercepts(…) | Gets the points of a line, if any, that intercept an ellipse centered at the origin. |
static EllipseLineSegmentInterception(…) | Gets the points, if any, where a line segment intersects an ellipse centered at an arbitrary point. (2 methods) |
static GetArcCenter(…) | (2 methods) |
static GetLinearInterpolation(…) | Gets the linear interpolation of two values. |
static GetLineEquation(…) | |
static GetMedian(…) | Returns the median value from a sequence of values. |
static GetVectorAngle(…) | Gets the angle of the vector, in radians. (2 methods) |
static GetVectorLength(…) | Calculates the Length of a vector without using System.Windows.Vector (2 methods) |
static GreatCircleDistance(…) | Calculates the shortest distance between to points on a the surface of a sphere. |
static LineIntersection(…) | |
static LineSegmentIntersection(…) | |
static PointIsOnEllipse(…) | Determines if a point is on an ellipse centered at the origin. |
static PointOnCircle(…) | |
static PointOnEllipse(…) | |
static RadiansToDegrees(…) | Converts radians to degrees. |
static RectLineSegmentIntersection(…) |