Home
last modified time | relevance | path

Searched refs:xcen (Results 1 – 25 of 107) sorted by relevance

12345

/dports/astro/astrometry/astrometry.net-0.85/util/
H A Ddcen3x3.c27 int dcen3a(float f0, float f1, float f2, float *xcen, in dcen3a() argument
44 (*xcen) = sod * (1. + kk * (0.25 * d / aa) * (1. - 4. * sod * sod)) + 1.; in dcen3a()
60 int dcen3b(float f0, float f1, float f2, float *xcen in dcen3b() argument
73 *xcen = -0.5 * b / a; in dcen3b()
74 if ((*xcen < 0.0) || (*xcen > 2.0)) in dcen3b()
82 int dcen3x3(float *image, float *xcen, float *ycen) in dcen3x3() argument
114 (*xcen) = (mx * (by - my - 1.) + bx) / (1. + mx * my); in dcen3x3()
115 (*ycen) = ((*xcen) - 1.) * my + by; in dcen3x3()
118 if (((*xcen) < 0.0) || ((*xcen) > 2.0) || in dcen3x3()
124 if (!isnormal(*xcen) || !isnormal(*ycen)) in dcen3x3()
H A Ddallpeaks.inc16 float *xcen,
142 xcen[imore + (*npeaks)] = xc[i] + xmin;
144 assert(isfinite(xcen[imore + *npeaks]));
155 xcen[imore + (*npeaks)] = (tmpxc-1.0) + xc[i] + xmin;
157 assert(isfinite(xcen[imore + *npeaks]));
170 xcen[imore + (*npeaks)] = 2.0*(tmpxc-1.0) + xc[i] + xmin;
172 assert(isfinite(xcen[imore + *npeaks]));
181 xcen[imore + (*npeaks)] = tmpxc + xmin;
/dports/games/alephone/alephone-release-20190331/Source_Files/RenderMain/
H A DCrosshairs_SDL.cpp69 int xcen = s->w / 2 - 1, ycen = s->h / 2 - 1; in Crosshairs_Render() local
75 …SDL_Rect r = {xcen - Crosshairs.FromCenter - Crosshairs.Length, ycen - Crosshairs.Thickness / 2, C… in Crosshairs_Render()
79 r.x = xcen + Crosshairs.FromCenter; in Crosshairs_Render()
83 r.x = xcen - Crosshairs.Thickness / 2; in Crosshairs_Render()
104 octa_points[0][0] = xcen - len; in Crosshairs_Render()
105 octa_points[0][5] = xcen + len; in Crosshairs_Render()
110 octa_points[0][1] = xcen - len; in Crosshairs_Render()
111 octa_points[0][4] = xcen + len; in Crosshairs_Render()
116 octa_points[0][2] = xcen - len; in Crosshairs_Render()
117 octa_points[0][3] = xcen + len; in Crosshairs_Render()
/dports/graphics/leptonica/leptonica-1.76.0/src/
H A Drotateshear.c197 l_int32 xcen, in pixRotateShear() argument
213 return pixRotate2Shear(pixs, xcen, ycen, angle, incolor); in pixRotateShear()
218 return pixRotate3Shear(pixs, xcen, ycen, angle, incolor); in pixRotateShear()
249 l_int32 xcen, in pixRotate2Shear() argument
271 pixd = pixVShear(NULL, pix1, xcen, angle, incolor); in pixRotate2Shear()
279 pix2 = pixRotate2Shear(pix1, xcen, ycen, angle, L_BRING_IN_WHITE); in pixRotate2Shear()
320 l_int32 xcen, in pixRotate3Shear() argument
343 if ((pixd = pixVShear(NULL, pixs, xcen, angle / 2., incolor)) == NULL) in pixRotate3Shear()
349 pixVShear(pixd, pix1, xcen, angle / 2., incolor); in pixRotate3Shear()
396 l_int32 xcen, in pixRotateShearIP() argument
[all …]
H A Drotateam.c307 l_int32 i, j, xcen, ycen, wm2, hm2; in rotateAMColorLow() local
314 xcen = w / 2; in rotateAMColorLow()
325 xdif = xcen - j; in rotateAMColorLow()
328 xp = xcen + (xpm >> 4); in rotateAMColorLow()
378 l_int32 i, j, xcen, ycen, wm2, hm2; in rotateAMGrayLow() local
385 xcen = w / 2; in rotateAMGrayLow()
396 xdif = xcen - j; in rotateAMGrayLow()
399 xp = xcen + (xpm >> 4); in rotateAMGrayLow()
855 xcen = w / 2; in rotateAMColorFastLow()
866 xdif = xcen - j; in rotateAMColorFastLow()
[all …]
H A Drotate.c323 l_int32 xcen, in pixRotateBySampling() argument
366 xdif = xcen - j; in pixRotateBySampling()
367 x = xcen + (l_int32)(-xdif * cosa - ydif * sina); in pixRotateBySampling()
388 xdif = xcen - j; in pixRotateBySampling()
389 x = xcen + (l_int32)(-xdif * cosa - ydif * sina); in pixRotateBySampling()
/dports/devel/upp/upp/bazaar/PixRaster/lib/
H A Drotateshear.c171 l_int32 xcen, in pixRotateShear() argument
187 return pixRotate2Shear(pixs, xcen, ycen, angle, incolor); in pixRotateShear()
189 return pixRotate3Shear(pixs, xcen, ycen, angle, incolor); in pixRotateShear()
217 l_int32 xcen, in pixRotate2Shear() argument
236 if ((pixd = pixVShear(NULL, pixt, xcen, angle, incolor)) == NULL) in pixRotate2Shear()
273 l_int32 xcen, in pixRotate3Shear() argument
292 if ((pixd = pixVShear(NULL, pixs, xcen, angle / 2., incolor)) == NULL) in pixRotate3Shear()
296 pixVShear(pixd, pixt, xcen, angle / 2., incolor); in pixRotate3Shear()
331 l_int32 xcen, in pixRotateShearIP() argument
352 pixVShearIP(pixs, xcen, hangle, incolor); in pixRotateShearIP()
H A Drotateamlow.c58 l_int32 i, j, xcen, ycen, wm2, hm2; in rotateAMColorLow() local
65 xcen = w / 2; in rotateAMColorLow()
76 xdif = xcen - j; in rotateAMColorLow()
79 xp = xcen + (xpm >> 4); in rotateAMColorLow()
134 l_int32 i, j, xcen, ycen, wm2, hm2; in rotateAMGrayLow() local
141 xcen = w / 2; in rotateAMGrayLow()
152 xdif = xcen - j; in rotateAMGrayLow()
155 xp = xcen + (xpm >> 4); in rotateAMGrayLow()
409 xcen = w / 2; in rotateAMColorFastLow()
420 xdif = xcen - j; in rotateAMColorFastLow()
[all …]
H A Drotate.c289 l_int32 xcen, in pixRotateBySampling() argument
332 xdif = xcen - j; in pixRotateBySampling()
333 x = xcen + (l_int32)(-xdif * cosa - ydif * sina); in pixRotateBySampling()
355 xdif = xcen - j; in pixRotateBySampling()
356 x = xcen + (l_int32)(-xdif * cosa - ydif * sina); in pixRotateBySampling()
H A Dboxfunc2.c166 l_int32 xcen, in boxaTransformOrdered() argument
186 xcen, ycen, angle, order); in boxaTransformOrdered()
250 l_int32 xcen, in boxTransformOrdered() argument
279 xcent = (l_int32)(scalex * xcen + 0.5); in boxTransformOrdered()
299 xcent = (l_int32)(scalex * xcen + 0.5); in boxTransformOrdered()
322 xdif = bx + 0.5 * bw - xcen; in boxTransformOrdered()
326 rx = xcen + xdif * cosa - ydif * sina - 0.5 * rw; in boxTransformOrdered()
343 xdif = bx + 0.5 * bw - xcen; in boxTransformOrdered()
347 rx = xcen + xdif * cosa - ydif * sina - 0.5 * rw; in boxTransformOrdered()
366 xdif = tx + 0.5 * bw - xcen; in boxTransformOrdered()
[all …]
/dports/science/afni/afni-AFNI_21.3.16/src/
H A Dmri_spatconcen.c5 float xcen, ycen, zcen , wsum,ww , gval,hval , dxyz ; in mri_spatial_concentration() local
13 xcen = ycen = zcen = wsum = 0.0f ; in mri_spatial_concentration()
17 wsum += ww ; xcen += ww*ii ; ycen += ww*jj ; zcen += ww*kk ; nww++ ; in mri_spatial_concentration()
20 xcen /= wsum ; ycen /= wsum ; zcen /= wsum ; in mri_spatial_concentration()
27 dxyz = (xcen-ii)*(xcen-ii) + (ycen-jj)*(ycen-jj) + (zcen-kk)*(zcen-kk) ; in mri_spatial_concentration()
29 dxyz = fabsf(xcen-ii)+fabsf(ycen-jj)+fabsf(zcen-kk) ; in mri_spatial_concentration()
H A D3dmaskdump.c273 float xcen,ycen,zcen,rad , btyp=0.0 ; in main() local
283 xcen = strtod( argv[++narg] , NULL ) ; in main()
293 ball_dat[1+BOXLEN*ball_num] = xcen ; in main()
537 float xcen,ycen,zcen , rad , xx,yy,zz , dist , icen,jcen,kcen ; in main() local
550 xcen = ball_dat[1+BOXLEN*bb] ; ycen = ball_dat[2+BOXLEN*bb] ; in main()
556 xcen = -xcen; ycen = -ycen; btyp = BALL_DIC; in main()
559 LOAD_FVEC3(dv,xcen,ycen,zcen) ; in main()
561 UNLOAD_FVEC3(xv,xcen,ycen,zcen) ; in main()
563 if( xcen < xmin || xcen > xmax ) continue ; /* skip ball if outside */ in main()
566 LOAD_FVEC3(dv,xcen,ycen,zcen) ; in main()
[all …]
H A Dmri_coxplot.c152 int xcor,ycor , xcen,ycen , rad ; float xrad,yrad ; in memplot_to_RGB_sef() local
154 xcen = rint(xoff + xscal * MEMPLOT_X1(mp,ii) ); in memplot_to_RGB_sef()
161 mri_drawcircle( im , xcen,ycen , rad, rrr,ggg,bbb , (thc==THCODE_BALL) ) ; in memplot_to_RGB_sef()
429 int xcen,ycen , rad ; float xrad,yrad ; in memplot_bbox() local
431 xcen = MEMPLOT_X1(mp,ii) ; in memplot_bbox()
434 x1 = xcen - rad ; x2 = xcen + rad ; in memplot_bbox()
/dports/math/R-cran-psych/psych/R/
H A Derror.bars.by.R45 xcen <- group.means[i,j] functionVar
49 …if(is.finite(xse) && xse>0) arrows(mp[j,i],xcen-ci*xse,mp[j,i],xcen+ci* xse,length=arrow.len, a…
55 xcen <- group.means[i,j]
58 …if(is.finite(xse) && xse>0) arrows(mp[i,j],xcen-ci*xse,mp[i,j],xcen+ci* xse,length=arrow.len, …
104 {xcen <- x.stats$mean[i]
109 …if(is.finite(xse) & xse>0) arrows(i,xcen-ci*xse,i,xcen+ci* xse,length=arrow.len, angle = 90, code…
161 xcen <- var.means[i,g]
164 …if(x.cat) {arrows(g,xcen-ci[i]*xse,g,xcen+ci[i]* xse,length=arrow.len, angle = 90, code=3, col = …
166 …arrows(x.values[g],xcen-ci[i]*xse,x.values[g],xcen+ci[i]* xse,length=arrow.len, angle = 90, code=3…
H A Derror.crosses.R35 {xcen <- x$mean[i] functionVar
39 …arrows(xcen-cix[i]* xse,ycen,xcen+ cix[i]* xse,ycen,length=arrow.len, angle = 90, code=3,col = par…
40 …arrows(xcen,ycen-ciy[i]* yse,xcen,ycen+ ciy[i]*yse,length=arrow.len, angle = 90, code=3,col = par(…
41 … text(xcen,ycen,labels=lab[i],pos=locate[i],cex=1,offset=offset) #puts in labels for all points
/dports/astro/astrometry/astrometry.net-0.85/include/astrometry/
H A Ddimage.h35 int dpeaks(float *image, int nx, int ny, int *npeaks, int *xcen,
39 int dcen3x3(float *image, float *xcen, float *ycen);
47 int dallpeaks(float *image, int nx, int ny, int *objects, float *xcen,
51 int dallpeaks_u8(uint8_t *image, int nx, int ny, int *objects, float *xcen,
55 int dallpeaks_i16(int16_t *image, int nx, int ny, int *objects, float *xcen,
/dports/astro/stellarsolver/stellarsolver-1.8/stellarsolver/astrometry/include/astrometry/
H A Ddimage.h34 int dpeaks(float *image, int nx, int ny, int *npeaks, int *xcen,
38 int dcen3x3(float *image, float *xcen, float *ycen);
46 int dallpeaks(float *image, int nx, int ny, int *objects, float *xcen,
50 int dallpeaks_u8(uint8_t *image, int nx, int ny, int *objects, float *xcen,
54 int dallpeaks_i16(int16_t *image, int nx, int ny, int *objects, float *xcen,
/dports/games/xray_re-tools/xray_re-tools-52721d2/sources/plugins/xray_fsl/materials/shaders/
H A Dshaderutil.cpp344 int w,h,npts,xcen,ybot,ytop,ylast,i,iy; in DrawHilite() local
353 xcen = rect.left+npts; in DrawHilite()
365 VertLine(hdc,xcen+i,ybot,iy); in DrawHilite()
366 VertLine(hdc,xcen-i,ybot,iy); in DrawHilite()
371 VertLine(hdc,xcen+i, ytop, iy-1); in DrawHilite()
443 xcen = rect.left+npts; in DrawHilite2()
466 VertLine(hdc,xcen-i, l, ly); in DrawHilite2()
469 VertLine(hdc,xcen+i, ybot, r+1); in DrawHilite2()
470 VertLine(hdc,xcen-i, ybot, l+1); in DrawHilite2()
472 VertLine(hdc,xcen+i, ytop, ry-1); in DrawHilite2()
[all …]
/dports/graphics/xfig/xfig-3.2.8a/src/
H A Du_bound.c325 float xcen, ycen, a, b; in ellipse_bound() local
327 xcen = e->center.x; in ellipse_bound()
332 *xmin = *xmax = xcen; in ellipse_bound()
345 *xmin = xcen - a - half_wd; in ellipse_bound()
346 *xmax = xcen + a + half_wd; in ellipse_bound()
362 xcen /= ZOOM_FACTOR; in ellipse_bound()
386 *xmin = min2(*xmin,xcen-d); in ellipse_bound()
387 *xmax = max2(*xmax,xcen+d); in ellipse_bound()
397 *xmin = min2(*xmin,xcen+xleft); in ellipse_bound()
398 *xmax = max2(*xmax,xcen+xleft); in ellipse_bound()
[all …]
/dports/cad/feappv/feappv-4.1i/plot/
H A Dframe.f33 real*8 xcen,xw1, xw2 local
173 xcen = xmax(i)+xmin(i)
174 xmax(i) = (xcen + 1.1d0*scale)*0.5d0
175 xmin(i) = (xcen - 1.1d0*scale)*0.5d0
/dports/science/xtb/xtb-6.4.1/src/
H A Dlocal.f9050 real(wp),allocatable :: xcen(:) local
150 allocate(cca(nao*nao),xcen(n),lneigh(4,n),aneigh(2,n))
265 call mocent(nat,nao,n,cmo,s,qmo,xcen,basis%aoat2)
314 & imem(1),imem(2),xcen(i),.true.,pithr,jdum)
317 & i,lmostring(jdum),autoev*f(i),xcen(i),ecent(i,1:3), &
527 deallocate(xcen,cca,d,f,qmo,ecent,rklmo)
540 real(wp),intent(in) :: xcen,pithr local
543 if(xcen.lt.1.3333333)then
566 if(xcen.gt.pithr) typ=4
581 real*8 xcen(ihomo),x(ndim,ndim),s(ndim,ndim) local
[all …]
/dports/science/afni/afni-AFNI_21.3.16/src/SUMA/
H A DSUMA_ConvertSurface.c172 double xcen[3], sc[3]; in main() local
209 xcen[0] = 0.0; xcen[1] = 0.0; xcen[2] = 0.0; in main()
376 xcen[0] = atof(argv[kar]); ++kar; in main()
377 xcen[1] = atof(argv[kar]); ++kar; in main()
378 xcen[2] = atof(argv[kar]); in main()
1046 fprintf (SUMA_STDERR,"Cen[:] %f %f %f\n", xcen[0], xcen[1], xcen[2]); in main()
1050 xform, 0, xcen)) { in main()
/dports/graphics/leptonica/leptonica-1.76.0/prog/
H A Drotatefastalt.c203 l_int32 i, j, xcen, ycen, wm2, hm2; in rotateAMColorFastLow2() local
209 xcen = w / 2; in rotateAMColorFastLow2()
221 xdif = xcen - j; in rotateAMColorFastLow2()
224 xp = xcen + (xpm >> 2); in rotateAMColorFastLow2()
/dports/graphics/hugin/hugin-2020.0.0/src/hugin_base/lines/
H A DFindN8Lines.cpp319 double xcen, double ycen in lineFilter() argument
343 double ccx = x0 + 0.5 * dx - xcen, in lineFilter()
347 double acx = pts.at(n/2).x - xcen, in lineFilter()
418 double xcen = 0.5 * width, in linePts2lineList() local
522 int q = lineFilter( tmp, minsize, flpix, xcen, ycen ); in linePts2lineList()
539 int q = lineFilter( tmp, minsize, flpix, xcen, ycen ); in linePts2lineList()
/dports/graphics/freeglut/freeglut-3.2.1/progs/demos/Lorenz/
H A Dlorenz.c66 double xcen = 0.0, ycen = 0.0, zcen = 0.0 ; /* Coordinates of the point looked at */ variable
299 xcen = 0.0 ; in reshape_cb()
302 glTranslated ( xcen, ycen, zcen - 50.0 ) ; in reshape_cb()

12345