queryPt(x,y)
queryPt를 지나는 라인의 기울기(라디안) m
queryPt와 떨어진 일정거리 d
newPt.x = queryPt.x + (d * cos(m));
newPt.y = queryPt.y + (d * sin(m));
출처: https://nasmaki.tistory.com/entry/산수-메모-한점과-기울기를-알때-일정거리만큼-떨어진-점의-좌표 [나즈막히의 빗방울교향곡]
queryPt(x,y)
queryPt를 지나는 라인의 기울기(라디안) m
queryPt와 떨어진 일정거리 d
newPt.x = queryPt.x + (d * cos(m));
newPt.y = queryPt.y + (d * sin(m));
출처: https://nasmaki.tistory.com/entry/산수-메모-한점과-기울기를-알때-일정거리만큼-떨어진-점의-좌표 [나즈막히의 빗방울교향곡]