Lines Matching refs:sin
1074 var sin = Math.sin(rotation);
1077 var x1 = x * cos - y * sin;
1078 var y1 = y * cos + x * sin;
2803 … /*private*/ mxVsdxGeometryList.prototype.rotatedPoint = function (pt, cos, sin) { argument
2804 var x1 = pt.x * cos - pt.y * sin;
2805 var y1 = pt.y * cos + pt.x * sin;
2841 … this.rotatedPoint(p, Math.cos(rotation), Math.sin(rotation));
6520 Utils.getRotatedPoint = function (pt, cos, sin, c) { argument
6523 var x1 = x * cos - y * sin;
6524 var y1 = y * cos + x * sin;
6537 var sin = Math.sin(rotation);
6540 var x1 = x * cos - y * sin;
6541 var y1 = y * cos + x * sin;
6765 … var p1y = Math.sqrt(x1 * x1 + y1 * y1) * Math.sin(Math.atan2(y1, x1) - ang);
6767 … var p2y = Math.sqrt(x2 * x2 + y2 * y2) * Math.sin(Math.atan2(y2, x2) - ang);
6769 … var p3y = Math.sqrt(x3 * x3 + y3 * y3) * Math.sin(Math.atan2(y3, x3) - ang);
6773 … var newY = Math.sqrt(p0x * p0x + p0y * p0y) * Math.sin(Math.atan2(p0y, p0x) + ang);
10539 …var sin = Math.sin(/* toRadians */ (function (x) { return x * Math.PI / 180; })(360 - this.rotatio…
10540 … return new mxPoint(x + vecX - (vecX * cos - vecY * sin), (vecX * sin + vecY * cos) + y - vecY);