Please help solving this geometric problem.

Given a Dynamo point project it on a Dynamo line. Obtain projected point.

There is a lot of nodes dealing with projecting point on a surface, but not dealing with projecting point on a line.

Theres a built in node that reports the distance to geometry, so I used it to obtain the shortest distance, then made a sphere and intersected it with the line. Alas, the rounding makes this method non-reliable, one of my intersection points turned up as a line with a length of 0,005 millimeter.

Please help.