Dear Geometers,

I have looked, but I cannot find an algorithm (in BG) to calculate the projection of a point on a line, as per the explanation here: http://cs.nyu.edu/~yap/classes/visual/03s/hw/h2/math.pdf

Have I simply missed it or is there a simple combination of algorithms to calculate it?

So far I have been rolling my own linear algebra computation as per that paper, but I was hoping to simplify the code and use something built in.

Thanks, cheers.

Jeremy