This might be a simple question, but I'll ask anyways. I've been reading up on the basics of calculating the slope using two points: m = y1-y2/x1-x2
Which after that, I can figure out the equation of the line to test whether or not a point lies on that line. However, is it possible to check to see if that point I'm testing is on the line, and between two points? Let's say I have a line with the ends points (2,3) and (100,200), I would want to check to see if point (50,50) is on it.