Boost logo

Geometry :

Subject: Re: [geometry] calculating the projection of a point on a line
From: Mike Vasiljevs (mike.vasiljevs_at_[hidden])
Date: 2016-08-02 08:54:16

Hi Jeremy,

You should look at some basic linear algebra. There are a number of ways to
derive the formula and each source covers this from a slightly different
angle (no pun intended :)); try to understand geometric meaning of the line
equation (of the form a*t + b) and the dot product (a dot b). Drop me an
email if you are struggling with this.


On 2 August 2016 at 08:27, Jeremy Murphy <jeremy.william.murphy_at_[hidden]>

> 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:
> 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
> _______________________________________________
> Geometry mailing list
> Geometry_at_[hidden]

Geometry list run by mateusz at