Processing math: 100%

Projection of point on line

This calculator computes the coordinates of the orthogonal projection of a point M on a line in a 2 or 3 dimensional space.

projection-point-line


Projection of a point on a line in 2D or 3D space

This formula calculates the orthogonal projection of a point M on a Line L passing through point A and directed by vector u.

M : the point to project
A : point of the Line L
u : Direction vector of Line L
P : projected point of M on Line L

OP=OA+AMu|u|2u

uv is the dot product of u and v

|u| is the norm of vector u

See also

Matrix transformation Calculator
Line Calculator (2D)
Line Calculator (3D)
Vector projection Calculator
Coordinate Geometry Calculators
Geometry Calculators
Mathematics Calculators