I'm sure this is really simple but my brain doesn't seem to want to work and it is around 20 years since I tried something like this.
I have a line, Line A. I know the x and y coordinates of its start and end points and its length. I also know its angle with the positive x-axis.
I need to create line B. Line B must be perpendicular to line A and must start at either the start or end point of line A. I will know the length of line B.
So, given that I know the length, start point, and gradient of line B (negative reciprocal of line A’s gradient), is there some magic formula that I can feed these numbers in to in order to find the x,y coordinates of the end point of line B?
I was hoping there was some simple formula that I could just feed the values I know of line B into and get its end coordinates.
Any help would be greatly appreciated.