Lines Matching refs:i2
461 for i2 in range(len(csp2)) :
462 for j2 in range(1,len(csp2[i2])) :
463 d = csp_seg_bound_to_csp_seg_bound_max_min_distance(csp1[i1][j1-1],csp1[i1][j1],csp2[i2][j2-1],csp2[i2][j2])
465 if d[1] < dist_bounds[0] : return [d[1],i1,j1,1,i2,j2,1]
466 d = csp_seg_to_csp_seg_distance(csp1[i1][j1-1],csp1[i1][j1],csp2[i2][j2-1],csp2[i2][j2], dist_bounds, tolerance=tolerance)
468 dist = [d[0], i1,j1,d[1], i2,j2,d[2]]
2878 for i2 in range(len(self.polygon)):
2879 if i1==i2 : continue
2880 poly2 = self.polygon[i2]
3087 i1,i2 = 0, 0
3128 i1,i2 = random.randint(0,self.genes_count-1),random.randint(0,self.genes_count-1)
3129 specimen[i1][0], specimen[i2][0] = specimen[i2][0], specimen[i1][0]
5431 j2,i2,r2=get_biggest( (x2,y2), (nx,ny))
5433 if j2==j0 and i2==i0 : #Same as left end. Don't subdivide this part any more
5434 return [ [x2, y2, r2], line_divide((x2,y2),j2,i2,(x1,y1),j1,i1,(nx,ny),length/2)]
5435 if j2==j1 and i2==i1 : #Same as right end. Don't subdivide this part any more
5436 return [ line_divide((x0,y0),j0,i0,(x2,y2),j2,i2,(nx,ny),length/2), [x2, y2, r2] ]
5437 return [ line_divide((x0,y0),j0,i0,(x2,y2),j2,i2,(nx,ny),length/2), line_divide((x2,y2),j2,i2,(x1,y1),j1,i1,(nx,ny),length/2)]
6139 subpath = [ [ [i2[0],i2[1]+r] for i2 in i1] for i1 in subpath]
6198 current_pass = [ [ [i2[0],i2[1]+width] for i2 in i1] for i1 in fine_cut]