Suppose I enter a numeric value, opposite can mark scale, scale can be displayed around the right scale value
CodePudding user response:
Known center coordinates and radius r, a point of view, looking for a junior high school students, calculate the coordinates of point a under to you from point a to the center of the circle to draw lines
CodePudding user response:
X=X0 + cos (a * PI/180.0) * rY=Y0 + sin (a * PI/180.0) * r