阅读背景:

Python:最近点指向一行

来源:互联网 

I have the following question. I have a box full of coordinates and three points, which build up a line. Now i want to calculate the shortest distance of all box coordinates to that line. I have three methods to do that and the vtk and numpy version always have the same result but not the distance method of shapely. But i need the shapely version, because i want to measure the closest distance from a point to the hwole line and not to the seperate line segments. Here is an example code so far. So the problem is the "pdist":I have the following question. I have a box ful




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: