Home
last modified time | relevance | path

Searched refs:cos (Results 1 – 25 of 170) sorted by relevance

1234567

/plugin/geophp/vendor/funiq/geophp/src/Geometry/
H A DLineString.php178 pow(cos($lat2) * sin($deltaLon), 2) +
179 pow(cos($lat1) * sin($lat2) - sin($lat1) * cos($lat2) * cos($deltaLon), 2)
182 cos($lat1) * cos($lat2) * cos($deltaLon)
211 cos(deg2rad($point->y())) * cos(deg2rad($nextPoint->y())) *
212 cos(deg2ra
[all...]
/plugin/statdisplay/pchart/
H A DGDCanvas.php143 $X = cos ( ($i + 180) * M_PI / 180 ) * $radius + $point1->getX() + $radius;
147 $X = cos ( ($i - 90) * M_PI / 180 ) * $radius + $point2->getX() - $radius;
151 $X = cos ( ($i) * M_PI / 180 ) * $radius + $point2->getX() - $radius;
155 $X = cos ( ($i + 90) * M_PI / 180 ) * $radius + $point1->getX() + $radius;
205 $Xi1 = cos ( ($i + 180) * M_PI / 180 ) * $radius
213 $Xi2 = cos ( ($i - 90) * M_PI / 180 ) * $radius
221 $Xi3 = cos ( ($i) * M_PI / 180 ) * $radius
229 $Xi4 = cos ( ($i + 90) * M_PI / 180 ) * $radius
539 $X = cos ( $i * M_PI / 180 ) * $height + $center->getX();
557 $X1 = cos ( $i * M_PI / 180 ) * $height + $center->getX();
[all …]
H A DPieChart.php188 $TopX = cos ( $iAngle * M_PI / 180 ) * $Radius + $XPos;
262 $TX = cos ( ($TAngle) * M_PI / 180 ) * ($Radius + 10 + $SpliceDistance) + $XPos;
373 $XOffset = cos ( ($Angle + ($Value / 2 * $SpliceRatio)) * M_PI / 180 ) * $SpliceDistance;
484 …$XCenterPos = cos ( ($Angle - $CDev + ($Value * $SpliceRatio + $SpliceDistanceRatio) / 2) * M_PI /…
486 …$XCenterPos2 = cos ( ($Angle + $CDev + ($Value * $SpliceRatio + $SpliceDistanceRatio) / 2) * M_PI …
513 $TX = cos ( ($TAngle) * M_PI / 180 ) * ($Radius + 10) + $XPos;
534 $TopX = cos ( $iAngle * M_PI / 180 ) * $Radius + $XPos;
579 $PosX = cos ( $iAngle * M_PI / 180 ) * $Radius + $XPos + $XOffset;
/plugin/statistics/inc/pchart/
H A DGDCanvas.php157 $X = cos(($i + 180) * M_PI / 180) * $radius + $point1->getX() + $radius;
161 $X = cos(($i - 90) * M_PI / 180) * $radius + $point2->getX() - $radius;
165 $X = cos(($i) * M_PI / 180) * $radius + $point2->getX() - $radius;
169 $X = cos(($i + 90) * M_PI / 180) * $radius + $point1->getX() + $radius;
227 $Xi1 = cos(($i + 180) * M_PI / 180) * $radius
235 $Xi2 = cos(($i - 90) * M_PI / 180) * $radius
243 $Xi3 = cos(($i) * M_PI / 180) * $radius
251 $Xi4 = cos(($i + 90) * M_PI / 180) * $radius
612 $X = cos($i * M_PI / 180) * $height + $center->getX();
632 $X1 = cos(
[all...]
H A DPieChart.php196 $TopX = cos($iAngle * M_PI / 180) * $Radius + $XPos;
278 $TX = cos(($TAngle) * M_PI / 180) * ($Radius + 10 + $SpliceDistance) + $XPos;
397 $XOffset = cos(($Angle + ($Value / 2 * $SpliceRatio)) * M_PI / 180) * $SpliceDistance;
511 $XCenterPos = cos(($Angle - $CDev + ($Value * $SpliceRatio + $SpliceDistanceRatio) / 2) * M_PI / 180) * $SpliceDistance + $XPos;
513 $XCenterPos2 = cos(($Angle + $CDev + ($Value * $SpliceRatio + $SpliceDistanceRatio) / 2) * M_PI / 180) * $SpliceDistance + $XPos;
540 $TX = cos(($TAngle) * M_PI / 180) * ($Radius + 10) + $XPos;
563 $TopX = cos($iAngle * M_PI / 180) * $Radius + $XPos;
614 $PosX = cos($iAngle * M_PI / 180) * $Radius + $XPos + $XOffset;
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
H A DGradient.php242 $tx = sin($b) * cos($b) * $ny;
243 $ty = cos($b) * cos($b) * $ny;
254 $tx = sin($b) * cos($b) * $ny;
255 $ty = cos($b) * cos($b) * $ny;
266 $tx = sin($b) * cos($b) * $ny;
267 $ty = cos($b) * cos($b) * $ny;
278 $tx = sin($b) * cos(
[all...]
/plugin/amcharts/assets/amcharts/
H A Dradar.js6cos(180/l*Math.PI/180),z*=a.rMultiplier);for(w=0;w<l;w++){var q=180-360/l*w,g=q;"middle"==a.pointP…
9 …(k=0;k<u;k++)p=180-360/u*k,r.push(b*Math.sin(p/180*Math.PI)),h.push(b*Math.cos(p/180*Math.PI));r.p…
10 …k=u;0<=k;k--)p=180-360/u*k,r.push(e*Math.sin(p/180*Math.PI)),h.push(e*Math.cos(p/180*Math.PI));u=d…
11 …push(c*Math.cos(h/180*Math.PI));k.push(k[0]);p.push(p[0]);for(l=a;0<=l;l--)h=180-360/a*l,k.push(m*…
H A Dgauge.js8cos(r/180*Math.PI)),l=k(C+(y-h)*Math.sin(r/180*Math.PI)),w=k(D-(y-h)*Math.cos(r/180*Math.PI)),q=c.…
10 180*Math.PI)),n=k(D-F*Math.cos(w/180*Math.PI)),l=k(C+(F-H)*Math.sin(w/180*Math.PI)),w=k(D-(F-H)*Mat…
20 …kLength);var d=Math.sin(b/180*Math.PI),g=Math.cos(b/180*Math.PI),p=Math.sin((b+90)/180*Math.PI),E=…
/plugin/sketchcanvas/script/
H A Ddraw.js137 var a1x = ax * Math.cos(rad1) - ay * Math.sin(rad1);
138 var a1y = ax * Math.sin(rad1) + ay * Math.cos(rad1);
139 var a2x = ax * Math.cos(rad2) - ay * Math.sin(rad2);
140 var a2y = ax * Math.sin(rad2) + ay * Math.cos(rad2);
/plugin/magnifier/
H A Dscript.js115 var left = left0 * Math.cos(arc) - top0 * Math.sin(arc) - 165;
116 var top = left0 * Math.sin(arc) + top0 * Math.cos(arc) + 113;
/plugin/diagramsnet/lib/js/rough/
H A Drough.js.orig1cos(a),h=Math.sin(a);t.forEach((t=>{const[e,s]=t;t[0]=(e-n)*r-(s-o)*h+n,t[1]=(e-n)*h+(s-o)*r+o}))}…
H A Drough.min.js20 ….length){a=_slicedToArray(a,2);var c=a[0],f=a[1];e*=Math.PI/180;var k=Math.cos(e),d=Math.sin(e);b.…
32 …inally{b.f()}return g}function I(b,a,e){return[b*Math.cos(e)-a*Math.sin(e),b*Math.sin(e)+a*Math.co…
34cos(g),c=q+k*Math.sin(g),e,c,f,k,d,0,n,[g,g,h,q]));d=Math.tan((g-t)/4);f=4/3*f*d;d*=4/3*k;k=[b,a];…
38cos(f),a+c*Math.sin(f),n)).concat(_toConsumableArray(D(b,a,b+e*Math.cos(k),a+c*Math.sin(k),n)))):r…
44cos(r-b),u(k,g)+e+.9*f*Math.sin(r-b)]);for(var h=r;h<2*Math.PI+r-.01;h+=b){var t=[u(k,g)+a+c*Math.
45cos(r+.5*d),u(k,g)+e+.9*f*Math.sin(r+.5*d)]),[m,n]}function da(b,a,e,c,f,k,d,g,n){var m=k+u(.1,n);…
56 …r t=l*(b+d),p=t+b,t=[k[0]+t*Math.cos(a)+f*Math.cos(a),k[1]+t*Math.sin(a)+f*Math.sin(a)],p=[k[0]+p*…
57 …(2*Math.pow(e,2)),l=[k[0]+l*Math.cos(a),k[1]+l*Math.sin(a)],r=[k[0]+r*Math.cos(a),k[1]+r*Math.sin(…
63 …/g.curveStepCount,m=[];d<=f;d+=k)m.push([a+e*Math.cos(d),c+b*Math.sin(d)]);return m.push([a+e*Math…
H A Drough.js.modified75 _r = Math.cos(_a),
505 … _h4 = [c[0] + _e12 * Math.cos(u) + i * Math.cos(u), c[1] + _e12 * Math.sin(u) + i * Math.sin(u)],
506 … _l3 = [c[0] + _r3 * Math.cos(u) + i * Math.cos(u), c[1] + _r3 * Math.sin(u) + i * Math.sin(u)];
555 _i7 = [h[0] + _e13 * Math.cos(c), h[1] + _e13 * Math.sin(c)],
556 _l4 = [h[0] + _a4 * Math.cos(c), h[1] + _a4 * Math.sin(c)],
1004 return [t * Math.cos(s) - e * Math.sin(s), t * Math.sin(s) + e * Math.cos(s)];
1054 var b = Math.cos(f),
1056 m = Math.cos(d),
1221 data: [c + u * Math.cos(f), l + p * Math.sin(f)]
1421 …return l.push([e + n * Math.cos(r), s + o * Math.sin(r)]), l.push([e + n * Math.cos(r), s + o * Ma…
[all …]
/plugin/sketchcanvas/phplib/
H A Dimage.php60 $a1x = $ax * cos($rad1) - $ay * sin($rad1);
61 $a1y = $ax * sin($rad1) + $ay * cos($rad1);
62 $a2x = $ax * cos($rad2) - $ay * sin($rad2);
63 $a2y = $ax * sin($rad2) + $ay * cos($rad2);
/plugin/abc2/abc-libraries/abc2svg/
H A Dpsvg-1.js71 function Psvg(abcobj_r){var svgbuf='',abcobj=abcobj_r,wps=new Wps(this),g=0,gchg,gcur={cx:0,cy:0,xoffs:0,yoffs:0,xscale:1,yscale:1,rotate:0,sin:0,cos:1,linewidth:0.7,dash:''},gc_stack=[],x_rot=0,y_rot=0,font_n="",font_n_old="",font_s=0,path;function getorig(){setg(0);return[gcur.xoffs-gcur.xorig,gcur.yoffs-gcur.yorig]} property in Psvg.gcur
78 if(gcur.rotate){if(gcur.xoffs||gcur.yoffs){var x,xtmp=gcur.xoffs,y=gcur.yoffs,_sin=gcur.sin,_cos=gcur.cos;x=xtmp*_cos-y*_sin;y=xtmp*_sin+y*_cos;svgbuf+=" translate("+x.toFixed(1)+","+
118 a2-=360;x1=x+r*Math.cos(a1*Math.PI/180);y1=y+r*Math.sin(a1*Math.PI/180)
126 if(a1==a2){a2=180-a1;x2=x+r*Math.cos(a2*Math.PI/180);y2=y+r*Math.sin(a2*Math.PI/180);path+='a'+r.toFixed(2)+' '+r.toFixed(2)+' 0 0 '+
133 (y2-y1).toFixed(2)+'\n';gcur.cx=x1;gcur.cy=y1}else{x2=x+r*Math.cos(a2*Math.PI/180);y2=y+r*Math.sin(a2*Math.PI/180);path+='a'+r.toFixed(2)+' '+r.toFixed(2)+' 0 0 '+
179 var x,xtmp=gcur.xoffs,y=gcur.yoffs,_sin=gcur.sin,_cos=gcur.cos;x=xtmp*_cos-y*_sin;y=xtmp*_sin+y*_cos;gcur.xoffs=x/gcur.xscale;gcur.yoffs=y/gcur.yscale;xtmp=gcur.cx;y=gcur.cy;x=xtmp*_cos-y*_sin;y=-xtmp*_sin+y*_cos;gcur.cx=x/gcur.xscale;gcur.cy=y/gcur.yscale;a=360-a;gcur.rotate+=a
184 a=gcur.rotate*Math.PI/180;gcur.sin=_sin=Math.sin(a);gcur.cos=_cos=Math.cos(a);x=gcur.cx;gcur.cx=(x*_cos+gcur.cy*_sin)*gcur.xscale;gcur.cy=(-x*_sin+gcur.cy*_cos)*gcur.yscale;x=gcur.xoffs;gcur.xoffs=(x*_cos+gcur.yoffs*_sin)*gcur.xscale;gcur.yoffs=(-x*_sin+gcur.yoffs*_cos)*gcur.yscale;gchg=true}
312 /cos{.pi mul 180 div .math(cos)
[all...]
/plugin/spatialhelper/
H A Daction.php
/plugin/projects/pchart/pchart/
H A Dpchart.php2147 $X = cos($Angle * 3.1418 / 180 ) * $TRadius + $XCenter;
2161 $X = cos($Angle * 3.1418 / 180 ) * $Radius + $XCenter;
2196 $X2 = cos($Angle * 3.1418 / 180 ) * $TRadius + $XCenter;
2884 $X = cos(($i+180)*3.1418/180) * $Radius + $X1 + $Radius;
2888 $X = cos(($i-90)*3.1418/180) * $Radius + $X2 - $Radius;
2892 $X = cos(($i)*3.1418/180) * $Radius + $X2 - $Radius;
2896 $X = cos(($i+90)*3.1418/180) * $Radius + $X1 + $Radius;
2928 $Xi3 = cos(($i)*3.1418/180) * $Radius + $X2 - $Radius;
2969 $X = cos($i*3.1418/180) * $Height + $Xc;
2988 $X1 = cos($i*3.1418/180) * $Height + $Xc;
[all …]
/plugin/charter/lib/pchart/
H A DpChart.class.php2172 $X = cos($Angle * 3.1418 / 180 ) * $TRadius + $XCenter;
2186 $X = cos($Angle * 3.1418 / 180 ) * $Radius + $XCenter;
2221 $X2 = cos($Angle * 3.1418 / 180 ) * $TRadius + $XCenter;
2909 $X = cos(($i+180)*3.1418/180) * $Radius + $X1 + $Radius;
2913 $X = cos(($i-90)*3.1418/180) * $Radius + $X2 - $Radius;
2917 $X = cos(($i)*3.1418/180) * $Radius + $X2 - $Radius;
2921 $X = cos(($i+90)*3.1418/180) * $Radius + $X1 + $Radius;
2953 $Xi3 = cos(($i)*3.1418/180) * $Radius + $X2 - $Radius;
2994 $X = cos($i*3.1418/180) * $Height + $Xc;
3013 $X1 = cos($i*3.1418/180) * $Height + $Xc;
[all …]
/plugin/sequencediagram/bower_components/snap.svg/
H A Dhistory.md13 * Added methods to work with degrees instead of radians: `Snap.sin()`, `Snap.cos()`, `Snap.tan()`, …
/plugin/diagramsnet/lib/shapes/
H A DmxBasic.js795 var y1 = r * Math.cos(angle);
2440 var startY = ry - Math.cos(startAngle) * ry;
2442 var endY = ry - Math.cos(endAngle) * ry;
2585 var startY = ry - Math.cos(startAngle) * ry;
2587 var endY = ry - Math.cos(endAngle) * ry;
2741 var startY = ry - Math.cos(startAngle) * ry;
2745 var endY = ry - Math.cos(endAngle) * ry;
2747 var innerEndY = ry - Math.cos(endAngle) * ry2;
2944 var startY = ry - Math.cos(startAngle) * ry;
2948 var endY = ry - Math.cos(endAngle) * ry;
[all …]
/plugin/s5reloaded/ui/effects_support/
H A Deffects.js75 return (-Math.cos(pos*Math.PI)/2) + .5;
81 var pos = ((-Math.cos(pos*Math.PI)/4) + .75) + Math.random()/4;
85 return (-Math.cos(pos*Math.PI*(9*pos))/2) + .5;
88 return (-Math.cos((pos*((pulses||5)-.5)*2)*Math.PI)/2) + .5;
91 return 1 - (Math.cos(pos * 4.5 * Math.PI) * Math.exp(-pos * 6));
899 return 1 - transition((-Math.cos((pos*(options.pulses||5)*2)*Math.PI)/2) + .5);
/plugin/captcha/
H A DEasySVG.php364 return $this->defApplyMatrix($def, [cos($angle), sin($angle), -sin($angle), cos($angle), 0, 0]);
/plugin/diagramsnet/lib/shapes/mockup/
H A DmxMockupGraphics.js400 var y1 = h * 0.5 - h * Math.cos(startAngle) * 0.5;
402 var y2 = h * 0.5 - h * Math.cos(endAngle) * 0.5;
727 var y1 = h * 0.5 - h * 0.38 * Math.cos(needlePos);
734 x1 = w * 0.5 + w * 0.05 * Math.cos(needlePos);
739 y2 = h * 0.5 - h * (-0.05) * Math.cos(needlePos);
744 x2 = w * 0.5 - w * 0.05 * Math.cos(needlePos);
/plugin/diagramsnet/lib/js/diagramly/vsdx/
H A DmxVsdxCanvas2D.js1012 x -= hw * Math.cos(pRot);
1026 x += hw * Math.cos(pRot);
1042 y += hh * Math.cos(pRot);
1056 y -= hh * Math.cos(pRot);
/plugin/anewssystem/
H A Ddropdowncontent.js53 return (1-Math.cos(percent*Math.PI)) / 2 //return cos curve based value from a percentage input

1234567