Boost logo

Geometry :

Subject: Re: [geometry] Comparable distance from point to segment
From: Oleg Evseev (ev.mipt_at_[hidden])
Date: 2019-02-08 12:30:33


Hi Vissarion

Yes, I understand that "comparable" is not exactly that distance.
Thanks for the feedback!

пт, 8 февр. 2019 г. в 14:05, Vissarion Fysikopoulos <
vissarion.fysikopoulos_at_[hidden]>:

> Hi Oleg,
> On 06/02/2019 15:53, Oleg Evseev via Geometry wrote:
>
> Hi all,
>
> [image: изображение.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.
>
> Best,
>
> Vissarion
>
> Thanks in advanced for help!
>
> ---
> With regards, Oleg.
>
> _______________________________________________
> Geometry mailing listGeometry_at_[hidden]https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.boost.org_mailman_listinfo.cgi_geometry&d=DwICAg&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=qtrJNnpeyFz5vx_r8EJqjiJa9qMbZZPxr5w2ietJHWky4hlin6pJP3gyYv6wTp9L&m=jl02NdpZReEFsb3MlTJKShLuu8qIvoWPxWhCtNpdg8o&s=apEAUW4glyTVSj1LV0xJ-8L6dnU5YtZyfYpBRc6YF04&e=
>
>




______________________.png

Geometry list run by mateusz at loskot.net