Re: [Numpy-discussion] point line distance

2010-10-07 Thread Sebastian Haase
Hi, in my Priithon project I the got from this Minimum Distance between a Point and a Line Written by Paul Bourke,October 1988 http://astronomy.swin.edu.au/~pbourke/geometry/pointline/ def geoPointLineDist(p, seg, testSegmentEnds=False):: ...

[Numpy-discussion] point line distance

2010-10-06 Thread Renato Fabbri
supose you have a line defined by two points and a point. you want the distance what are easiest possibilities? i am doing it, but its nasty'n ugly -- GNU/Linux User #479299 skype: fabbri.renato ___ NumPy-Discussion mailing list

Re: [Numpy-discussion] point line distance

2010-10-06 Thread Zachary Pincus
Here's a good list of basic geometry algorithms: http://www.softsurfer.com/algorithms.htm Zach On Oct 6, 2010, at 5:08 PM, Renato Fabbri wrote: supose you have a line defined by two points and a point. you want the distance what are easiest possibilities? i am doing it, but its nasty'n