I have two points A(x1,y1) & B(x2,y2) of a line, I need to check if the third point say C(x3,y3) falls anywhere within 1 meters range on both sides of the line. So, when AB forms a horizontal line we check in the area 1 meter above and 1 meter below the line. And if the line is vertical then third point should be on left side or right side of the line in the range of 0 to 10meters from AB. (point C could be on line AB or in the range of 10 meters)
I could use slope intercept or point intercept if I just wanted to check on the line but I need to give a buffer of 1 meter around the line formed.Please help.Thanks.
point c shown through black text are within the area & red ones are out of the allowed area.