Introduction - If you have any usage issues, please Google them yourself
Java provides a trigonometric method, a direct call cos () method can be calculated based on the x coordinate y coordinates. It should be noted that the parameter cos () method is entered in radians, to coordinate conversion, the same, the result should be conversion.