Lines Matching refs:center

135                CvPoint2D32f pt2, CvPoint2D32f * center, float *radius )  in icvFindCircle()  argument
151 center->x = (float) (x2 + dx2 * t); in icvFindCircle()
152 center->y = (float) (y2 + dy2 * t); in icvFindCircle()
153 *radius = (float) icvDistanceL2_32f( *center, pt0 ); in icvFindCircle()
157 center->x = center->y = 0.f; in icvFindCircle()
166 CV_INLINE double icvIsPtInCircle( CvPoint2D32f pt, CvPoint2D32f center, float radius ) in icvIsPtInCircle() argument
168 double dx = pt.x - center.x; in icvIsPtInCircle()
169 double dy = pt.y - center.y; in icvIsPtInCircle()
182 CvPoint2D32f center; in icvFindEnslosingCicle4pts_32f() local
187 center = min_center = pts[0]; in icvFindEnslosingCicle4pts_32f()
216 center = cvPoint2D32f( (pts[idxs[0]].x + pts[idxs[1]].x)*0.5f, in icvFindEnslosingCicle4pts_32f()
218 radius = (float)(icvDistanceL2_32f( pts[idxs[0]], center )*1.03); in icvFindEnslosingCicle4pts_32f()
222 if( icvIsPtInCircle( pts[idxs[2]], center, radius ) >= 0 && in icvFindEnslosingCicle4pts_32f()
223 icvIsPtInCircle( pts[idxs[3]], center, radius ) >= 0 ) in icvFindEnslosingCicle4pts_32f()
233 pts[shuffles[i][2]], &center, &radius ) >= 0 ) in icvFindEnslosingCicle4pts_32f()
239 if( icvIsPtInCircle( pts[shuffles[i][3]], center, radius ) >= 0 && in icvFindEnslosingCicle4pts_32f()
243 min_center = center; in icvFindEnslosingCicle4pts_32f()
252 center = min_center; in icvFindEnslosingCicle4pts_32f()
260 *_center = center; in icvFindEnslosingCicle4pts_32f()
270 assert( icvIsPtInCircle( pts[i], center, radius ) >= 0 ); in icvFindEnslosingCicle4pts_32f()
282 CvPoint2D32f center = { 0, 0 }; in cvMinEnclosingCircle() local
386 icvFindEnslosingCicle4pts_32f( pts, &center, &radius ); in cvMinEnclosingCircle()
402 delta = icvIsPtInCircle( ptfl, center, radius ); in cvMinEnclosingCircle()
435 dx = center.x - ptfl.x; in cvMinEnclosingCircle()
436 dy = center.y - ptfl.y; in cvMinEnclosingCircle()
447 *_center = center; in cvMinEnclosingCircle()
883 box->center.x = box->center.y = in icvFitEllipse_F()
915 box->center.x = (float)offx; in icvFitEllipse_F()
916 box->center.y = (float)offy; in icvFitEllipse_F()
932 box->center.x = (float)(x0 + offx); in icvFitEllipse_F()
933 box->center.y = (float)(y0 + offy); in icvFitEllipse_F()
1101 box.center.x = (float)rp[0]; in cvFitEllipse2()
1102 box.center.y = (float)rp[1]; in cvFitEllipse2()