Find the coordinate given the angle and distance from a point

前端 未结 0 1903
抹茶落季
抹茶落季 2021-01-05 15:11

I am trying to draw lines on android canvas by calculating the last point (X,Y) given a point (Xo,Yo), the distance and the angle. A diagram is illustrated below:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题