Lines Matching refs:EndPt
71 int check_slice( CvPoint StartPt, CvPoint EndPt,
166 int CV_ApproxPolyTest::check_slice( CvPoint StartPt, CvPoint EndPt, in check_slice() argument
194 dx = (double)StartPt.x - (double)EndPt.x; in check_slice()
195 dy = (double)StartPt.y - (double)EndPt.y; in check_slice()
218 … else dist = sqrt( (double)(EndPt.y - Pt.y)*(EndPt.y - Pt.y) + (EndPt.x - Pt.x)*(EndPt.x - Pt.x) ); in check_slice()
235 CvPoint StartPt, EndPt; in check() local
253 CV_READ_SEQ_ELEM( EndPt, SrcReader ); in check()
255 if( StartPt.x == EndPt.x && StartPt.y == EndPt.y ) break; in check()
262 EndPt.x = StartPt.x; in check()
263 EndPt.y = StartPt.y; in check()
267 TotalErrors += check_slice( StartPt, EndPt, &SrcReader, Eps, &j, Count ); in check()