Searched refs:dist_num (Results 1 - 3 of 3) sorted by relevance

/external/opencv/cv/src/
H A Dcvgeometry.cpp295 double dx, dy, dx1, dy1, dx2, dy2, dist_num, dist_denom = 1; local
313 dist_num = dx1*dx1 + dy1*dy1;
315 dist_num = dx2*dx2 + dy2*dy2;
318 dist_num = (dy1*dx - dx1*dy);
319 dist_num *= dist_num;
323 if( dist_num*min_dist_denom < min_dist_num*dist_denom )
325 min_dist_num = dist_num;
336 dist_num = dy1*dx - dx1*dy;
338 dist_num
[all...]
/external/opencv3/modules/imgproc/src/
H A Dgeometry.cpp193 double dx, dy, dx1, dy1, dx2, dy2, dist_num, dist_denom = 1; local
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
[all...]
/external/opencv3/modules/imgproc/test/
H A Dtest_convhull.cpp107 double dx, dy, dx1, dy1, dx2, dy2, dist_num, dist_denom = 1; local
116 dist_num = dx2*dx2 + dy2*dy2;
119 dist_num = dx1*dx1 + dy1*dy1;
125 dist_num = (dy1*dx - dx1*dy);
126 dist_num *= dist_num;
131 if( dist_num*min_dist_denom < min_dist_num*dist_denom )
133 min_dist_num = dist_num;
146 dist_num = dy1*dx - dx1*dy;
148 dist_num
[all...]

Completed in 112 milliseconds