Answer the question
In order to leave comments, you need to log in
How do you know if a point lies on a line?
Good day, there is a line (segment) with coordinates x1:y1 , x2:y2 , width h , angle a and there is a point x3:y3.
Actually, the question is in the title. There is an assumption that the line must first be converted to a polygon, and then an algorithm should be used to see if the point lies in the polygon.
PS I'm not sure about the correct tags, correct
Answer the question
In order to leave comments, you need to log in
Here you will find everything you need: www.jeffreythompson.org/collision-detection/line-c...
if anything use a translator
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question