EndPoint based on Length and Angle
I am needing to find a point perpendicular to a line by an offset.
I'm almost there, but I can't seem to figure out the last piece of the puzzle...
Line A is a physical line. Line B is a "construction" line and will start at X1,Y1 of Line A. Line B's angle is the angle of Line A + 90. Line B's length is 75. If unit type is important, these are measurments in Feet.
X1: 2279540.5757 X2: 2279495.2158
Y1: 841723.9968 Y2: 841750.9777
X1: 2279540.5757 X2: ?
Y1: 841723.9968 Y2: ?
I've drawn Line B out and kn0w the answer for X2,Y2 but I need to figure out the formula to put into an application that I am working on.
I tried this formula that I found on another forum, but the values are off...
X2 = (75 * Sin(239.2550)) + 2279540.5757
Y2 = (75 * Cos(239.2550)) + 841723.9968
Which gives a result of:
So the results are off by about 100' in both the X and Y.
Any help with the will be greatly appreciated! Thank you all for your time and help.