Lines Matching defs:alpha
81 double alpha;
88 alpha = len2 / len1;
90 pointSym2->x = pointCorner.x + alpha*(point1.x - pointCorner.x);
91 pointSym2->y = pointCorner.y + alpha*(point1.y - pointCorner.y);
92 pointSym2->z = pointCorner.z + alpha*(point1.z - pointCorner.z);
98 /* Compute 3D point for scanline and alpha betta */
99 int icvCompute3DPoint( double alpha,double betta,
110 double alphabetta = alpha*betta;
112 partAll = alpha - betta;
113 if( fabs(partAll) > 0.00001 ) /* alpha must be > betta */
116 partX = coeffs->Xcoef + coeffs->XcoefA *alpha +
119 partY = coeffs->Ycoef + coeffs->YcoefA *alpha +
122 partZ = coeffs->Zcoef + coeffs->ZcoefA *alpha +
220 double alpha = ((double)currLine)/((double)(numScanlines)); /* maybe - 1 */
222 point1.x = (1.0 - alpha) * quad1[0][0] + alpha * quad1[3][0];
223 point1.y = (1.0 - alpha) * quad1[0][1] + alpha * quad1[3][1];
225 point2.x = (1.0 - alpha) * quad1[1][0] + alpha * quad1[2][0];
226 point2.y = (1.0 - alpha) * quad1[1][1] + alpha * quad1[2][1];
228 point3.x = (1.0 - alpha) * quad2[0][0] + alpha * quad2[3][0];
229 point3.y = (1.0 - alpha) * quad2[0][1] + alpha * quad2[3][1];
231 point4.x = (1.0 - alpha) * quad2[1][0] + alpha * quad2[2][0];
232 point4.y = (1.0 - alpha) * quad2[1][1] + alpha * quad2[2][1];
565 double alpha,betta;
577 alpha = deltaA / delta;
580 xM = xA+alpha*(xB-xA);
581 yM = yA+alpha*(yB-yA);
582 zM = zA+alpha*(zB-zA);
1104 double alpha,betta;
1126 alpha = delA / del;
1129 if( alpha < 0 || alpha > 1.0 || betta < 0 || betta > 1.0)
2012 double alpha = dist2/dist1;
2014 pointNew1.x = basePoint.x + (1.0/alpha) * ( point2.x - basePoint.x );
2015 pointNew1.y = basePoint.y + (1.0/alpha) * ( point2.y - basePoint.y );
2017 pointNew2.x = basePoint.x + alpha * ( point1.x - basePoint.x );
2018 pointNew2.y = basePoint.y + alpha * ( point1.y - basePoint.y );
3422 double alpha,betta;
3443 alpha = delA / del;
3446 if( alpha < 0 || alpha > 1.0 || betta < 0 || betta > 1.0)
3469 double alpha,betta;
3490 alpha = delA / del;
3493 if( alpha < 0 || alpha > 1.0 )
3516 double X,Y,alpha;
3531 alpha = delA / del;
3533 if( alpha < 0 || alpha > 1.0 )