title: How to calculate x and y coordinates for a point which draws perpendicular to a line?
body: <p>My question is similar to <a href="https://stackoverflow.com/questions/10301001/perpendicular-on-a-line-segment-from-a-given-point">this</a> except i want to calculate point c. I have point A, B and D. How can i calculate X and Y components of points C?</p>