RadMath
Provides static mathematical functions and constants.
Definition
Namespace:Telerik.Charting
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
public static class RadMath
Inheritance: objectRadMath
Fields
The factor used to convert degrees to their radians equivalent.
public const double DegToRadFactor = 0.017453292519943295
Smallest unit such that 1.0+DBL_EPSILON != 1.0.
public const double Epsilon = 2.220446049250313E-09
The factor used to convert radians to their degree equivalent.
public const double RadToDegFactor = 57.29577951308232
Methods
Gets the point that lies on the arc segment of the ellipse, described by the center and radius parameters.
Gets the distance between two points in a plane.
Gets the polar coordinates (radius and angle) from the given arcPoint.
public static void GetPolarCoordinates(RadPoint arcPoint, RadPoint center, out double radius, out double angle)
The point in cartesian coordinates.
centerRadPointThe center.
radiusdoubleThe distance from the center.
angledoubleThe angle in degrees.
This is the reverse operation of GetArcPoint(double, RadPoint, double).
Gets the standard deviation of a set of numbers.
public static double GetStandardDeviation(IEnumerable<double> values)