The distance between a line and a random point | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

The distance between a line and a random point

Is there a function that returns the distance of a point ( with parameters X0 and Y0 ) from a line w the equation y=ax+b

15th Jan 2022, 10:10 PM
Malek
Malek  - avatar
1 Respuesta
0
Can you convert your line to a line segment? https://stackoverflow.com/a/6853926
15th Jan 2022, 10:25 PM
Harry