Hello everyone,
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.
Line A:
X1: 2279540.5757 X2: 2279495.2158
Y1: 841723.9968 Y2: 841750.9777
Angle: 149.2551
Line B:
X1: 2279540.5757 X2: ?
Y1: 841723.9968 Y2: ?
Angle: 239.25505248572242
Length: 75
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.
X2: 2279502.2344
Y2: 841659.5380
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:
X2: 2279606.6085
Y2: 841759.5589
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.


LinkBack URL
About LinkBacks

