Lines Matching refs:dist_num
193 double dx, dy, dx1, dy1, dx2, dy2, dist_num, dist_denom = 1;
206 dist_num = dx1*dx1 + dy1*dy1;
208 dist_num = dx2*dx2 + dy2*dy2;
211 dist_num = (dy1*dx - dx1*dy);
212 dist_num *= dist_num;
216 if( dist_num*min_dist_denom < min_dist_num*dist_denom )
218 min_dist_num = dist_num;
229 dist_num = dy1*dx - dx1*dy;
231 dist_num = -dist_num;
232 counter += dist_num > 0;