CSharp examples for System:Math Geometry
Converts radians to degree.
public class Main{ /// <summary> /// Converts radians to degress. /// </summary> /// <param name="radians">Angle in radians.</param> /// <returns>The angle in degrees.</returns> public static double ToDegrees(double radians) {//from w ww . j av a2s . co m return radians * 57.29577951308232;; } }