Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find projection of a point on a line

How can I find projection of a point p=(x, y, z) on the line l(t)= q + vt? where v is the unit norm vector, and q is a point on the line

like image 534
ron Avatar asked Jan 01 '26 11:01

ron


1 Answers

enter image description here

From this sketch, if we define define the vectors q = OQ and p = OP, then the orthogonal projection of p onto v is the component of p that follows the direction of v.

Or more explicitly, it's the vector ((p · v)/v²) · v = (p · v) · v, since v² = 1.

like image 167
Daniel Muñoz Parsapoormoghadam Avatar answered Jan 04 '26 15:01

Daniel Muñoz Parsapoormoghadam



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!