Lines Matching refs:dx0
658 double dx0, dy0; in cvConvexityDefects() local
670 dx0 = (double)hull_next->x - (double)hull_cur->x; in cvConvexityDefects()
672 assert( dx0 != 0 || dy0 != 0 ); in cvConvexityDefects()
673 scale = 1./sqrt(dx0*dx0 + dy0*dy0); in cvConvexityDefects()
694 double dist = fabs(-dy0*dx + dx0*dy) * scale; in cvConvexityDefects()
769 int dx0 = cur_pt->x - prev_pt->x; in cvCheckContourConvexity() local
785 dydx0 = dy * dx0; in cvCheckContourConvexity()
799 dx0 = dx; in cvCheckContourConvexity()
810 float dx0 = cur_pt->x - prev_pt->x; in cvCheckContourConvexity() local
826 dydx0 = dy * dx0; in cvCheckContourConvexity()
840 dx0 = dx; in cvCheckContourConvexity()