Yes, P1 and P2 are arbitrary, they could be any angle or even reversed. I have trig functions available to me so a solution involving them isn't a problem.
I haven't a clue where to begin. It's been 8 years since the last time I had to think about calculus. I found some equations on how to rotate a point by 90 degrees but the only examples are to rotate around (0,0).
This calculation has to be performed hundreds of times in a short amount of...
See the attached image first. Given that I know points P1 and P2, what would the equation be to get point P3, given that the angle is 90 degrees and the distance from P2 to P3 is 1/5 the distance from P1 to P2?
Thanks in advance!