Lines Matching refs:point_to_point_d2
255 if point_to_point_d2(sp1[1],sp2[1])<=tolerance and point_to_point_d2(sp1[2],sp2[1])<=tolerance and point_to_point_d2(sp1[1],sp2[0])<=tolerance :
323 if point_to_point_d2(csp[i][0][1] , csp[i][-1][1])> tolerance**2 :
1101 def point_to_point_d2(a,b):
2875 if point_to_point_d2(p,s)>0.000001 and point_to_point_d2(p,e)>0.000001 :
2885 if point_to_point_d2(p,s)>0.000001 and point_to_point_d2(p,e)>0.000001 :
2893 if (point_to_point_d2(e,s)<0.000001) : continue
2896 if point_to_point_d2(p,s)<0.000001 :
2899 if point_to_point_d2(p,e)<0.000001 :
2912 if point_to_point_d2(edge[1],s)<0.000001 :
2914 if point_to_point_d2(edge[1],s)>0.000001 :
2923 if point_to_point_d2(edge[1],e)<0.000001 :
2925 if point_to_point_d2(edge[1],e)>0.000001 :
3346 if point_to_point_d2(subpath[0][1], subpath[-1][1]) < 1.e-10 :
3362 if point_to_point_d2(sp2[1],p_)<max_dist**2:
4492 dist = [ [point_to_point_d2(end_point,lines[i][1:3]),i] for i in range(len(lines))]
6417 if point_to_point_d2(p1,p1_end)<0.0001 and point_to_point_d2(p2,p2_st)<0.0001 :
6499 i = min( [( point_to_point_d2(last_sp2[1],subpaths[i][0][1]),i) for i in range(len(subpaths))] )[1]