How can I tell if a point belongs to a certain line?
Examples are appreciated, if possible.
Could you be more specific?
What programming language are you talking about?
What environment are you talking about?
What "lines" are you talking about? Text? What point? XY on the screen?