Back to project page HzGrapher.
The source code is released under:
Apache License
If you think the Android project HzGrapher listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.handstudio.android.hzgrapherlib.util; //from w ww. jav a 2 s . c om public class Converter { public static float DegreeToRadian(float angle){ return (float) (angle * Math.PI / 180); } public static float RadianToDegree(float radian){ return (float) (radian * 180 / Math.PI); } }