autopdex.geometry.project_on_line

autopdex.geometry.project_on_line(x_p1, x_p2, x_p3)[source]

Projects x_p1 on the line going through x_p2 and x_p3.

result = x_p2 + project(x_p1 - x_p2, normal(x_p2, x_p3))