Boost logo

Geometry :

Subject: Re: [geometry] Comparable distance from point to segment
From: Vissarion Fysikopoulos (vissarion.fysikopoulos_at_[hidden])
Date: 2019-02-08 11:05:14

Hi Oleg,

On 06/02/2019 15:53, Oleg Evseev via Geometry wrote:
> Hi all,
> изображение.png
> Could someone explain to me how comparable distance works for point
> (P) and segment (AB), is it always shorten distance to line (length of
> red perpendicular from P on the pic above) or really to "limited"
> segment - nearest point _ON_ it (length of PA for the pic above)?
it is shortest distance to the segment i.e. the length of PA above. Note
also that "comparable" is not exactly that distance but omits some
arithmetic operations for efficiency and aims in comparison of two or
more of "comparable" distances.



> Thanks in advanced for help!
> ---
> With regards, Oleg.
> _______________________________________________
> Geometry mailing list
> Geometry_at_[hidden]


Geometry list run by mateusz at