N
N
Noname2020-05-29 20:44:48
Geometry
Noname, 2020-05-29 20:44:48

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

1 answer(s)
D
Denisca Gareev, 2020-05-29
@Ddeeeennn

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 question

Ask a Question

731 491 924 answers to any question