Home
last modified time | relevance | path

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

/external/opencv/cv/src/
Dcvgeometry.cpp295 double dx, dy, dx1, dy1, dx2, dy2, dist_num, dist_denom = 1; in cvPointPolygonTest() local
320 dist_denom = dx*dx + dy*dy; in cvPointPolygonTest()
323 if( dist_num*min_dist_denom < min_dist_num*dist_denom ) in cvPointPolygonTest()
326 min_dist_denom = dist_denom; in cvPointPolygonTest()
/external/opencv3/modules/imgproc/src/
Dgeometry.cpp193 double dx, dy, dx1, dy1, dx2, dy2, dist_num, dist_denom = 1; in pointPolygonTest() local
213 dist_denom = dx*dx + dy*dy; in pointPolygonTest()
216 if( dist_num*min_dist_denom < min_dist_num*dist_denom ) in pointPolygonTest()
219 min_dist_denom = dist_denom; in pointPolygonTest()
/external/opencv3/modules/imgproc/test/
Dtest_convhull.cpp107 double dx, dy, dx1, dy1, dx2, dy2, dist_num, dist_denom = 1; in cvTsPointPolygonTest() local
127 dist_denom = dx*dx + dy*dy; in cvTsPointPolygonTest()
131 if( dist_num*min_dist_denom < min_dist_num*dist_denom ) in cvTsPointPolygonTest()
134 min_dist_denom = dist_denom; in cvTsPointPolygonTest()