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.

Best,

Vissarion

Thanks in advanced for help!

---
With regards, Oleg.

_______________________________________________
Geometry mailing list
Geometry@lists.boost.org
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=