Home
last modified time | relevance | path

Searched refs:PI (Results 26 – 50 of 129) sorted by last modified time

123456

/plugin/bpmnioeditor/vendor/bpmnio-js/
H A Dbpmn-modeler.development.js3195 PI = math.PI,
3787 var _120 = PI * 120 / 180,
3788 rad = PI / 180 * (+angle || 0),
3826 f1 = x1 < cx ? PI - f1 : f1;
3827 f2 = x2 < cx ? PI - f2 : f2;
3828 f1 < 0 && (f1 = PI * 2 + f1);
3829 f2 < 0 && (f2 = PI * 2 + f2);
3832 f1 = f1 - PI * 2;
3835 f2 = f2 - PI * 2;
19630 if (Math.abs(angle) < Math.PI / 2) {
[all …]
H A Dbpmn-modeler.production.min.js7 …*/var wt=/,?([a-z]),?/gi,St=parseFloat,Ct=Math,Tt=Ct.PI,Rt=Ct.min,Pt=Ct.max,At=Ct.pow,kt=Ct.abs,Mt…
28 …}}(e),o=Math.atan((i.y-n.y)/(i.x-n.x)),a=r.x,s=r.y;return Math.abs(o)<Math.PI/2?s-=15:a+=15,{x:a,y…
33 …I);var i=t[n[0]]-e[n[0]],r=t[n[1]]-e[n[1]];return 180*Math.atan2(r,i)/Math.PI}F.prototype={handler…
/plugin/diagramsnet/lib/plugins/
H A Dexplore.js259 var phi = 2 * Math.PI / cellCount;
/plugin/diagramsnet/lib/js/diagramly/graphml/
H A DmxGraphMlCodec.js2492 lblCell.style += ";rotation=" + (parseFloat(angle) * (180 / Math.PI));
/plugin/diagramsnet/lib/js/diagramly/
H A DmxRuler.js130 ctx.rotate(-Math.PI / 2);
H A DExtensions.js13430 p.Rotation -= Math.PI / 2;
13434 p.Rotation += Math.PI;
/plugin/diagramsnet/lib/plugins/webcola/
H A Dcola.min.js1 …[1].x),d=Math.atan2(b[0].y-b[1].y,b[0].x-b[1].x),e=c-d;return(e>Math.PI||e<-Math.PI)&&(e=d-c),e},a…
/plugin/diagramsnet/lib/js/diagramly/vsdx/
H A Dimporter.js1072 rotation = (function (x) { return x * Math.PI / 180; })(rotation);
2840 … rotation = (function (x) { return x * Math.PI / 180; })(360 - rotation);
6535 rotation = (function (x) { return x * Math.PI / 180; })(rotation);
6780 var rot = (function (x) { return x * 180 / Math.PI; })(ang);
6821 …var aStart = (function (x) { return x * 180 / Math.PI; })(Math.atan2(y1, x1) - Math.atan2(y0, x0));
6822 … var aEnd = (function (x) { return x * 180 / Math.PI; })(Math.atan2(y2, x2) - Math.atan2(y0, x0));
6823 … var aCP = (function (x) { return x * 180 / Math.PI; })(Math.atan2(y3, x3) - Math.atan2(y0, x0));
10538 …var cos = Math.cos(/* toRadians */ (function (x) { return x * Math.PI / 180; })(360 - this.rotatio…
10688 rotation = (function (x) { return x * 180 / Math.PI; })(rotation);
10751 angle = (function (x) { return x * 180 / Math.PI; })(angle);
[all …]
/plugin/diagramsnet/lib/js/croppie/
H A Dcroppie.min.js1PI/180);break;case 4:r.translate(0,o),r.scale(1,-1);break;case 5:e.width=o,e.height=i,r.rotate(90*…
/plugin/diagramsnet/lib/js/
H A Dviewer-static.min.js134 …rseFloat(((c-q)/k).toFixed(9)));b<h&&(t=Math.PI-t);e<h&&(g=Math.PI-g);0>t&&(t=2*Math.PI+t);0>g&&(g…
135 n&&t>g&&(t-=2*Math.PI);!n&&g>t&&(g-=2*Math.PI)}Math.abs(g-t)>120*Math.PI/180&&(g=n&&g>t?t+120*Math.
138 …1*e,n);for(c+=u(.01*c,n);0>f;)f+=2*Math.PI,k+=2*Math.PI;k-f>2*Math.PI&&(f=0,k=2*Math.PI);var m=Mat…
145PI/2;m.push([u(k,g)+a+.9*c*Math.cos(r-b),u(k,g)+e+.9*f*Math.sin(r-b)]);for(var h=r;h<2*Math.PI+r-.…
164 …(b/2);e+=u(.01*e,g);for(b+=u(.01*b,g);0>d;)d+=2*Math.PI,f+=2*Math.PI;f-d>2*Math.PI&&(d=0,f=2*Math.
260PI/180);e=p*m+q*n;var m=-1*q*m+p*n,n=e*e,r=m*m,t=c*c,u=d*d,x=n/t+r/u;1<x?(c*=Math.sqrt(x),d*=Math.…
694PI/180);e=parseFloat(parseFloat(Math.cos(m)).toFixed(8));f=parseFloat(parseFloat(Math.sin(-m)).toF…
6012 …h.PI*f,k=2*Math.PI*g;d=.5*b;e=.5*c;var l=d+Math.sin(h)*d,m=e-Math.cos(h)*e,n=d+Math.sin(k)*d,p=e-M…
6018 …h.PI*f,k=2*Math.PI*g;d=.5*b;e=.5*c;var l=d+Math.sin(h)*d,m=e-Math.cos(h)*e,n=d+Math.sin(k)*d,p=e-M…
6024PI*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"startAngle",this.startAngle))));d…
[all …]
H A Dviewer.min.js134 …rseFloat(((c-q)/k).toFixed(9)));b<h&&(t=Math.PI-t);e<h&&(g=Math.PI-g);0>t&&(t=2*Math.PI+t);0>g&&(g…
135 n&&t>g&&(t-=2*Math.PI);!n&&g>t&&(g-=2*Math.PI)}Math.abs(g-t)>120*Math.PI/180&&(g=n&&g>t?t+120*Math.
137 …:e}}function aa(b,a,e){var c=2*Math.PI/Math.max(e.curveStepCount,e.curveStepCount/Math.sqrt(200)*M…
138 …1*e,n);for(c+=u(.01*c,n);0>f;)f+=2*Math.PI,k+=2*Math.PI;k-f>2*Math.PI&&(f=0,k=2*Math.PI);var m=Mat…
145PI/2;m.push([u(k,g)+a+.9*c*Math.cos(r-b),u(k,g)+e+.9*f*Math.sin(r-b)]);for(var h=r;h<2*Math.PI+r-.…
164 …(b/2);e+=u(.01*e,g);for(b+=u(.01*b,g);0>d;)d+=2*Math.PI,f+=2*Math.PI;f-d>2*Math.PI&&(d=0,f=2*Math.
259PI*a/180},toDegree:function(a){return 180*a/Math.PI},arcToCurves:function(a,b,c,d,e,f,g,k,l){k-=a;…
260PI/180);e=p*m+q*n;var m=-1*q*m+p*n,n=e*e,r=m*m,t=c*c,u=d*d,x=n/t+r/u;1<x?(c*=Math.sqrt(x),d*=Math.…
694PI/180);e=parseFloat(parseFloat(Math.cos(m)).toFixed(8));f=parseFloat(parseFloat(Math.sin(-m)).toF…
798 …ength-1?d.theta=Math.min(g,f[e+1].theta-Math.PI/10):g<d.theta&&0<e&&(d.theta=Math.max(g,f[e-1].the…
[all …]
H A Dextensions.min.js311 …okeColor=none;fillColor="+ga(Ea)+";"+xa(Ea,"fillOpacity");h.Rotation-=Math.PI/2;v.style+=c(v.style…
1085 …parseInt(mxUtils.getValue(this.cellState.style,"rotation","0")),fa=la*Math.PI/180;switch(d){case "…
1087PI/180));this.shape.appendChild(y);this.shape.appendChild(D);this.shape.appendChild(C)}};mxVsdxCan…
1128 …Id(c,b.getId()),k);return k};k.rotatedEdgePoint=function(d,b,a,c){b=b*Math.PI/180;var g=Math.cos(b…
1187 …ull!=m.x?m.x:0,m=null!=m.y?m.y:0,C=new mxPoint(q,m);0!==c&&(c=(360-c)*Math.PI/180,this.rotatedPoin…
1345 …f,d)-Math.atan2(b,a))/Math.PI;e=180*(Math.atan2(k,e)-Math.atan2(b,a))/Math.PI;a=180*(Math.atan2(q,…
1499 this.rotation)*Math.PI/180),m=Math.sin((360-this.rotation)*Math.PI/180),new mxPoint(c+k-(k*q-e*m),k…
1504 …va_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.ANGLE),"0")),a=180*a/Math.PI;return 360-a%360*100…
1505 …ang_String(f.mxgraph.io.vsdx.mxVsdxConstants.TXT_ANGLE),"0")),d=180*d/Math.PI,d=d-b;45>Math.abs(d)…
1552 …mage;this.isVerticalLabel()&&(D+=Math.PI+.01,B.horizontal="0");var E=this.getRotation();0!==D&&(D=…
[all …]
H A Dshapes-14-6-5.min.js483 10)/g;l+=k;var n=2*Math.PI*k,p=2*Math.PI*l,m=.5*b-b*Math.sin(n)*.5,n=.5*c-c*Math.cos(n)*.5,q=.5*b-b…
498 b=.75*(2*Math.PI*parseFloat(b)/100)+1.25*Math.PI;c=.5*d+.38*d*Math.sin(b);f=.5*e-.38*e*Math.cos(b);…
1924 …h.PI*f,k=2*Math.PI*g;d=.5*b;e=.5*c;var l=d+Math.sin(h)*d,m=e-Math.cos(h)*e,n=d+Math.sin(k)*d,p=e-M…
1927 …eight))))/100)/Math.PI;0>c&&(c=1+c);this.state.style.startAngle=c})];a=Graph.createHandle(a,["endA…
1930 …h.PI*f,k=2*Math.PI*g;d=.5*b;e=.5*c;var l=d+Math.sin(h)*d,m=e-Math.cos(h)*e,n=d+Math.sin(k)*d,p=e-M…
1933 …eight))))/100)/Math.PI;0>c&&(c=1+c);this.state.style.startAngle=c})];a=Graph.createHandle(a,["endA…
1936PI*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"startAngle",this.startAngle))));d…
1946 d,t=e-Math.cos(g)*e,u=d+Math.sin(g)*k,v=e-Math.cos(g)*h,g=g-f;0>g&&(g+=2*Math.PI);f=0;g>Math.PI&&(f…
2324 …ate(d,e);var f=2*Math.PI*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"startAngle"…
2325 ….cos(g)*e,u=d+Math.sin(g)*k,v=e-Math.cos(g)*h,g=g-f;0>g&&(g+=2*Math.PI);f=0;g>Math.PI&&(f=1);var g…
[all …]
H A Dshapes.min.js434 10)/g;l+=k;var n=2*Math.PI*k,p=2*Math.PI*l,m=.5*b-b*Math.sin(n)*.5,n=.5*c-c*Math.cos(n)*.5,q=.5*b-b…
449 b=.75*(2*Math.PI*parseFloat(b)/100)+1.25*Math.PI;c=.5*d+.38*d*Math.sin(b);f=.5*e-.38*e*Math.cos(b);…
1875 …h.PI*f,k=2*Math.PI*g;d=.5*b;e=.5*c;var l=d+Math.sin(h)*d,m=e-Math.cos(h)*e,n=d+Math.sin(k)*d,p=e-M…
1878 …eight))))/100)/Math.PI;0>c&&(c=1+c);this.state.style.startAngle=c})];a=Graph.createHandle(a,["endA…
1881 …h.PI*f,k=2*Math.PI*g;d=.5*b;e=.5*c;var l=d+Math.sin(h)*d,m=e-Math.cos(h)*e,n=d+Math.sin(k)*d,p=e-M…
1884 …eight))))/100)/Math.PI;0>c&&(c=1+c);this.state.style.startAngle=c})];a=Graph.createHandle(a,["endA…
1887PI*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"startAngle",this.startAngle))));d…
1897 d,r=e-Math.cos(g)*e,t=d+Math.sin(g)*k,u=e-Math.cos(g)*h,g=g-f;0>g&&(g+=2*Math.PI);f=0;g>Math.PI&&(f…
2339 …ate(d,e);var f=2*Math.PI*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"startAngle"…
2340 ….cos(g)*e,t=d+Math.sin(g)*k,u=e-Math.cos(g)*h,g=g-f;0>g&&(g+=2*Math.PI);f=0;g>Math.PI&&(f=1);var g…
[all …]
H A Dapp.min.js168 …rseFloat(((c-q)/k).toFixed(9)));b<h&&(t=Math.PI-t);e<h&&(g=Math.PI-g);0>t&&(t=2*Math.PI+t);0>g&&(g…
169 n&&t>g&&(t-=2*Math.PI);!n&&g>t&&(g-=2*Math.PI)}Math.abs(g-t)>120*Math.PI/180&&(g=n&&g>t?t+120*Math.
171 …:e}}function aa(b,a,e){var c=2*Math.PI/Math.max(e.curveStepCount,e.curveStepCount/Math.sqrt(200)*M…
172 …1*e,n);for(c+=u(.01*c,n);0>f;)f+=2*Math.PI,k+=2*Math.PI;k-f>2*Math.PI&&(f=0,k=2*Math.PI);var m=Mat…
179PI/2;m.push([u(k,g)+a+.9*c*Math.cos(r-b),u(k,g)+e+.9*f*Math.sin(r-b)]);for(var h=r;h<2*Math.PI+r-.…
198 …(b/2);e+=u(.01*e,g);for(b+=u(.01*b,g);0>d;)d+=2*Math.PI,f+=2*Math.PI;f-d>2*Math.PI&&(d=0,f=2*Math.
293PI*a/180},toDegree:function(a){return 180*a/Math.PI},arcToCurves:function(a,b,c,d,e,f,g,k,l){k-=a;…
294PI/180);e=p*m+q*n;var m=-1*q*m+p*n,n=e*e,r=m*m,t=c*c,u=d*d,x=n/t+r/u;1<x?(c*=Math.sqrt(x),d*=Math.…
728PI/180);e=parseFloat(parseFloat(Math.cos(m)).toFixed(8));f=parseFloat(parseFloat(Math.sin(-m)).toF…
832 …ength-1?d.theta=Math.min(g,f[e+1].theta-Math.PI/10):g<d.theta&&0<e&&(d.theta=Math.max(g,f[e-1].the…
[all …]
/plugin/diagramsnet/lib/js/diagramly/util/
H A DmxJsCanvas.js27 this.M_RAD_PER_DEG = Math.PI / 180;
510 this.ctx.arc(0, 0, 1, 0, 2 * Math.PI, false);
648 this.ctx.rotate(rotation * Math.PI / 180);
/plugin/diagramsnet/lib/js/grapheditor/
H A DShapes.js611 …ath.min(94, parseFloat(mxUtils.getValue(this.style, 'isoAngle', this.isoAngle)))) * Math.PI / 200 ;
6153 …seFloat(mxUtils.getValue(this.state.style, 'isoAngle', IsoCubeShape2.isoAngle)))) * Math.PI / 200 ;
6436 …ath.min(94, parseFloat(mxUtils.getValue(this.style, 'isoAngle', this.isoAngle)))) * Math.PI / 200 ;
/plugin/diagramsnet/lib/js/jquery/
H A Djquery-3.3.1.min.js2 …g={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"…
/plugin/diagramsnet/lib/js/rough/
H A Drough.js.modified74 _a = Math.PI / 180 * s,
557 … _u2 = [_i7[0] + _r4 * Math.cos(c + Math.PI / 4), _i7[1] + _r4 * Math.sin(c + Math.PI / 4)];
1008 var l = (u = r, Math.PI * u / 180);
1041PI - f), s < g && (d = Math.PI - d), f < 0 && (f = 2 * Math.PI + f), d < 0 && (d = 2 * Math.PI + d…
1155 a = 2 * Math.PI / o;
1202 f += 2 * Math.PI, d += 2 * Math.PI;
1205 d - f > 2 * Math.PI && (f = 0, d = 2 * Math.PI);
1206 var g = 2 * Math.PI / i.curveStepCount,
1401 l = W(.5, h) - Math.PI / 2;
1659 u += 2 * Math.PI, p += 2 * Math.PI;
[all …]
H A Drough.js.orig1PI/180*s,r=Math.cos(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 A Drough.min.js20 …n d(b,a,e){if(b&&b.length){a=_slicedToArray(a,2);var c=a[0],f=a[1];e*=Math.PI/180;var k=Math.cos(e…
32 …Math.sin(e)+a*Math.cos(e)]}function Y(b,a,e,c,f,k,d,g,n,m){var r=(w=d,Math.PI*w/180),w;w=[];var t,…
33 …rseFloat(((c-q)/k).toFixed(9)));b<h&&(t=Math.PI-t);e<h&&(g=Math.PI-g);0>t&&(t=2*Math.PI+t);0>g&&(g…
34 n&&t>g&&(t-=2*Math.PI);!n&&g>t&&(g-=2*Math.PI)}Math.abs(g-t)>120*Math.PI/180&&(g=n&&g>t?t+120*Math.
36 …:e}}function aa(b,a,e){var c=2*Math.PI/Math.max(e.curveStepCount,e.curveStepCount/Math.sqrt(200)*M…
37 …1*e,n);for(c+=u(.01*c,n);0>f;)f+=2*Math.PI,k+=2*Math.PI;k-f>2*Math.PI&&(f=0,k=2*Math.PI);var m=Mat…
44PI/2;m.push([u(k,g)+a+.9*c*Math.cos(r-b),u(k,g)+e+.9*f*Math.sin(r-b)]);for(var h=r;h<2*Math.PI+r-.…
57 …+r*Math.cos(a),k[1]+r*Math.sin(a)],t=[l[0]+t*Math.cos(a+Math.PI/4),l[1]+t*Math.sin(a+Math.PI/4)];d…
63 …(b/2);e+=u(.01*e,g);for(b+=u(.01*b,g);0>d;)d+=2*Math.PI,f+=2*Math.PI;f-d>2*Math.PI&&(d=0,f=2*Math.
/plugin/diagramsnet/lib/mxgraph/
H A DmxClient.js55PI*a/180},toDegree:function(a){return 180*a/Math.PI},arcToCurves:function(a,b,c,d,e,f,g,k,l){k-=a;…
56PI/180);e=p*m+q*n;var m=-1*q*m+p*n,n=e*e,r=m*m,t=c*c,u=d*d,x=n/t+r/u;1<x?(c*=Math.sqrt(x),d*=Math.…
259 …le))};mxAbstractCanvas2D.prototype.rotatePoint=function(a,b,c,d,e){c*=Math.PI/180;return mxUtils.g…
490PI/180);e=parseFloat(parseFloat(Math.cos(m)).toFixed(8));f=parseFloat(parseFloat(Math.sin(-m)).toF…
491 Math.PI-m);var k=Math.cos(m),n=Math.sin(-m),b=l*-(b+.5),c=g*-(c+.5);0!=m&&(m="progid:DXImageTransfo…
594 …ength-1?d.theta=Math.min(g,f[e+1].theta-Math.PI/10):g<d.theta&&0<e&&(d.theta=Math.max(g,f[e-1].the…
610 …b){return Math.max(a*b/Math.PI,this.radius)};mxCircleLayout.prototype.circle=function(a,b,c,d){for…
799 … e=a.getCenterY(),f=Math.atan2(c.y-e,c.x-b),g=new mxPoint(0,0),k=Math.PI,l=Math.PI/2-f,m=Math.atan…
804 …nts.DIRECTION_NORTH||b==mxConstants.DIRECTION_WEST?r>-t&&r<t:r<-Math.PI+t||r>Math.PI-t)?c=d&&(e&&c…
806 a,m-l),q=Math.PI,r=Math.PI/2;new mxPoint(l,a);b=null!=b?mxUtils.getValue(b.style,mxConstants.STYLE_…
[all …]
/plugin/diagramsnet/lib/shapes/
H A DmxInfographic.js137 …var startAngle = 2 * Math.PI * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'st…
138 …var endAngle = 2 * Math.PI * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'endA…
158 angDiff = angDiff + Math.PI * 2;
163 if (angDiff > Math.PI)
199 var res = 0.5 * Math.atan2(handleX, handleY) / Math.PI;
220 var res = 0.5 * Math.atan2(handleX, handleY) / Math.PI;
1930 angDiff = angDiff + Math.PI * 2;
1932 else if (angDiff == Math.PI)
1948 if (angDiff <= Math.PI)
2020 var res = 0.5 * Math.atan2(handleX, handleY) / Math.PI;
[all …]
/plugin/diagramsnet/lib/js/mermaid/
H A Dmermaid.min.js6PI,cr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},ur=function(t,e,n,r,i,a){var …
/plugin/diagramsnet/lib/shapes/mockup/
H A DmxMockupGraphics.js396 var startAngle = 2 * Math.PI * beginPerc;
397 var endAngle = 2 * Math.PI * endPerc;
724 var needlePos = (0.75 * (2 * Math.PI * parseFloat(gaugePos) / 100) + 1.25 * Math.PI);

123456