Lines Matching full:_line
220 icvCalcDist2D( CvPoint2D32f * points, int count, float *_line, float *dist )
223 float px = _line[2], py = _line[3];
224 float nx = _line[1], ny = -_line[0];
242 icvCalcDist3D( CvPoint3D32f * points, int count, float *_line, float *dist )
245 float px = _line[3], py = _line[4], pz = _line[5];
246 float vx = _line[0], vy = _line[1], vz = _line[2];
348 float _line[6], _lineprev[6];
408 icvFitLine2D_wods( points, count, w, _line );
419 double t = _line[0] * _lineprev[0] + _line[1] * _lineprev[1];
426 x = (float) fabs( _line[2] - _lineprev[2] );
427 y = (float) fabs( _line[3] - _lineprev[3] );
435 err = icvCalcDist2D( points, count, _line, r );
461 memcpy( _lineprev, _line, 4 * sizeof( float ));
464 icvFitLine2D_wods( points, count, w, _line );
470 memcpy( line, _line, 4 * sizeof(line[0]));
497 float _line[6], _lineprev[6];
558 icvFitLine3D_wods( points, count, w, _line );
569 double t = _line[0] * _lineprev[0] + _line[1] * _lineprev[1] + _line[2] * _lineprev[2];
576 x = _line[3] - _lineprev[3];
577 y = _line[4] - _lineprev[4];
578 z = _line[5] - _lineprev[5];
579 ax = _line[0] - _lineprev[0];
580 ay = _line[1] - _lineprev[1];
581 az = _line[2] - _lineprev[2];
592 if( icvCalcDist3D( points, count, _line, r ) < FLT_EPSILON*count )
617 memcpy( _lineprev, _line
620 icvFitLine3D_wods( points, count, w, _line );
626 memcpy( line, _line, 6 * sizeof(line[0]));