3D Perpendicular Point on Line From 3D point

前端 未结 4 927
北恋
北恋 2020-12-09 12:33

This question has been asked before in reference to 2D. This question extends it to 3D. How do I find the perpendicular intersected point on a line from a point in 3D space?

4条回答
  •  暖寄归人
    2020-12-09 12:59

    You're asking, in practice, the calculation of a distance between the point and line, so the Length of the vector from the (x3,y3,z3) point to the line which is orthogonal to the vector. If we immagine the line like a vector, that means that dot-product of both vectors is equal to 0. (this is just to give you a hint) .

提交回复
热议问题