Home
last modified time | relevance | path

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

/external/opencv/cv/src/
Dcvgeometry.cpp295 double dx, dy, dx1, dy1, dx2, dy2, dist_num, dist_denom = 1; in cvPointPolygonTest() local
313 dist_num = dx1*dx1 + dy1*dy1; in cvPointPolygonTest()
315 dist_num = dx2*dx2 + dy2*dy2; in cvPointPolygonTest()
318 dist_num = (dy1*dx - dx1*dy); in cvPointPolygonTest()
319 dist_num *= dist_num; in cvPointPolygonTest()
323 if( dist_num*min_dist_denom < min_dist_num*dist_denom ) in cvPointPolygonTest()
325 min_dist_num = dist_num; in cvPointPolygonTest()
336 dist_num = dy1*dx - dx1*dy; in cvPointPolygonTest()
338 dist_num = -dist_num; in cvPointPolygonTest()
339 counter += dist_num > 0; in cvPointPolygonTest()