127 references to Cos
mscorlib (1)
system\globalization\CalendricalCalculationsHelper.cs (1)
53
return Math.
Cos
(RadiansFromDegrees(degree));
PresentationCore (5)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
1424
M00 = M11 = Math.
Cos
(dAngle);
Core\CSharp\System\Windows\Media\Effects\DropShadowEffect.cs (1)
50
double offsetX = depth * Math.
Cos
(direction);
Core\CSharp\System\Windows\Media\LinearGradientBrush.cs (1)
235
return (new Point(System.Math.
Cos
(angle), System.Math.Sin(angle)));
Core\CSharp\System\Windows\Media3D\Quaternion.cs (2)
102
_w = Math.
Cos
(0.5 * angleInRadians);
569
scaleFrom = Math.
Cos
(theta);
System.Numerics (20)
System\Numerics\Complex.cs (7)
84
return new Complex((magnitude * Math.
Cos
(phase)), (magnitude * Math.Sin(phase)));
290
return new Complex(Math.Sin(a) * Math.Cosh(b), Math.
Cos
(a) * Math.Sinh(b));
298
return new Complex(Math.Sinh(a) * Math.
Cos
(b), Math.Cosh(a) * Math.Sin(b));
309
return new Complex(Math.
Cos
(a) * Math.Cosh(b), - (Math.Sin(a) * Math.Sinh(b)));
317
return new Complex(Math.Cosh(a) * Math.
Cos
(b), Math.Sinh(a) * Math.Sin(b));
360
Double result_re = temp_factor * Math.
Cos
(value.m_imaginary);
393
return new Complex(t * Math.
Cos
(newRho), t * Math.Sin(newRho));
System\Numerics\Matrix3x2.cs (2)
362
c = (float)Math.
Cos
(radians);
422
c = (float)Math.
Cos
(radians);
System\Numerics\Matrix4x4.cs (7)
585
float c = (float)Math.
Cos
(radians);
622
float c = (float)Math.
Cos
(radians);
661
float c = (float)Math.
Cos
(radians);
698
float c = (float)Math.
Cos
(radians);
737
float c = (float)Math.
Cos
(radians);
774
float c = (float)Math.
Cos
(radians);
838
float sa = (float)Math.Sin(angle), ca = (float)Math.
Cos
(angle);
System\Numerics\Quaternion.cs (4)
169
float c = (float)Math.
Cos
(halfAngle);
194
cr = (float)Math.
Cos
(halfRoll);
198
cp = (float)Math.
Cos
(halfPitch);
202
cy = (float)Math.
Cos
(halfYaw);
System.Web.DataVisualization (50)
Common\ChartTypes\PieChart.cs (32)
871
double xComponent = Math.
Cos
( midAngle * Math.PI / 180 ) * rectangle.Width / 10;
1034
point.positionRel.X = (float)Math.
Cos
( (midAngle) * Math.PI / 180 ) * rectangle.Width * expShift / 2 + middlePoint.X;
1242
x = (float)Math.
Cos
( (startAngle + sweepAngle / 2) * Math.PI / 180 ) * width + middlePoint.X;
1309
float x1 = (float)Math.
Cos
( (midAngle) * Math.PI / 180 ) * relativeSize.Width * expShift / 2 + middlePoint.X;
1312
float x2 = (float)Math.
Cos
( (midAngle) * Math.PI / 180 ) * relativeSize.Width * shift * expShift + middlePoint.X;
1344
x3 = (float)Math.
Cos
((midAngle) * Math.PI / 180) * relativeSize.Width * shift * expShift + middlePoint.X - relativeSize.Width / 10 * labelsHorizontalLineSize;
1361
x3 = (float)Math.
Cos
((midAngle) * Math.PI / 180) * relativeSize.Width * shift * expShift + middlePoint.X + relativeSize.Width / 10 * labelsHorizontalLineSize;
1720
x3 = (float)Math.
Cos
( (midAngle) * Math.PI / 180 ) * relativeSize.Width * shift * expShift + middlePoint.X - relativeSize.Width / 10 * labelsHorizontalLineSize;
1724
x3 = (float)Math.
Cos
( (midAngle) * Math.PI / 180 ) * relativeSize.Width * shift * expShift + middlePoint.X + relativeSize.Width / 10 * labelsHorizontalLineSize;
2596
double xComponent = Math.
Cos
( midAngle * Math.PI / 180 ) * rectangle.Width / 10;
3080
rectangle.X + (float)Math.
Cos
( 180 * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F,
3086
rectangle.X + (float)Math.
Cos
( 180 * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F,
3092
rectangle.X + (float)Math.
Cos
( 0 * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F,
3098
rectangle.X + (float)Math.
Cos
( 0 * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F,
3104
rectangle.X + (float)Math.
Cos
( startAngle * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F,
3110
rectangle.X + (float)Math.
Cos
( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F,
3116
rectangle.X + (float)Math.
Cos
( startAngle * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F,
3122
rectangle.X + (float)Math.
Cos
( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F,
3140
rectangle.X + (float)Math.
Cos
( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F,
3157
rectangle.X + (float)Math.
Cos
( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Width * sizeOut / 2F + rectangle.Width / 2F,
3165
rectangle.X + (float)Math.
Cos
( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Width * ( 1 + doughnutRadius ) / 4F + rectangle.Width / 2F,
3172
rectangle.X + (float)Math.
Cos
( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Width * 0.5F / 2F + rectangle.Width / 2F,
3194
rectangle.X + (float)Math.
Cos
( 180 * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F,
3200
rectangle.X + (float)Math.
Cos
( 180 * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F,
3206
rectangle.X + (float)Math.
Cos
( 0 * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F,
3212
rectangle.X + (float)Math.
Cos
( 0 * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F,
3218
rectangle.X + (float)Math.
Cos
( startAngle * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F,
3224
rectangle.X + (float)Math.
Cos
( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F,
3230
rectangle.X + (float)Math.
Cos
( startAngle * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F,
3236
rectangle.X + (float)Math.
Cos
( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F,
4963
if( Math.
Cos
( angle ) == 0 )
4969
correct = (float)(_innerPlotPosition.Width * 0.4 - _innerPlotPosition.Width * 0.4 / Math.
Cos
( angle ));
Common\General\Axis.cs (10)
2390
dX = (float)(offset * Math.
Cos
(angleAxis));
2395
dX = (float)(offset * Math.
Cos
(angleAxis));
2400
dY = (float)(offset * Math.
Cos
(angleAxis));
2414
dY = (float)(offset * Math.
Cos
(angleAxis));
5527
width = (float)Math.
Cos
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height;
5531
height += (float)Math.
Cos
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Width;
5535
width = (float)Math.
Cos
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Width;
5539
height += (float)Math.
Cos
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height;
5757
width = (float)Math.
Cos
((90 - Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Width;
5758
width += (float)Math.
Cos
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height;
Common\General\ChartArea.cs (1)
2710
float width = (float)Math.
Cos
(textAngle/180F*Math.PI) * textSize.Width;
Common\General\ChartGraphics.cs (1)
2073
float sizeChange = truncateRect.Width / (float)Math.
Cos
(Math.Abs(angle) / 180F * Math.PI);
Common\General\Matrix3D.cs (6)
728
rotationMatrix[1][1] = (float)Math.
Cos
( angle );
731
rotationMatrix[2][2] = (float)Math.
Cos
( angle );
736
rotationMatrix[0][0] = (float)Math.
Cos
( angle );
739
rotationMatrix[2][2] = (float)Math.
Cos
( angle );
744
rotationMatrix[0][0] = (float)Math.
Cos
( angle );
747
rotationMatrix[1][1] = (float)Math.
Cos
( angle );
System.Windows.Forms.DataVisualization (50)
Common\ChartTypes\PieChart.cs (32)
871
double xComponent = Math.
Cos
( midAngle * Math.PI / 180 ) * rectangle.Width / 10;
1034
point.positionRel.X = (float)Math.
Cos
( (midAngle) * Math.PI / 180 ) * rectangle.Width * expShift / 2 + middlePoint.X;
1242
x = (float)Math.
Cos
( (startAngle + sweepAngle / 2) * Math.PI / 180 ) * width + middlePoint.X;
1309
float x1 = (float)Math.
Cos
( (midAngle) * Math.PI / 180 ) * relativeSize.Width * expShift / 2 + middlePoint.X;
1312
float x2 = (float)Math.
Cos
( (midAngle) * Math.PI / 180 ) * relativeSize.Width * shift * expShift + middlePoint.X;
1344
x3 = (float)Math.
Cos
((midAngle) * Math.PI / 180) * relativeSize.Width * shift * expShift + middlePoint.X - relativeSize.Width / 10 * labelsHorizontalLineSize;
1361
x3 = (float)Math.
Cos
((midAngle) * Math.PI / 180) * relativeSize.Width * shift * expShift + middlePoint.X + relativeSize.Width / 10 * labelsHorizontalLineSize;
1720
x3 = (float)Math.
Cos
( (midAngle) * Math.PI / 180 ) * relativeSize.Width * shift * expShift + middlePoint.X - relativeSize.Width / 10 * labelsHorizontalLineSize;
1724
x3 = (float)Math.
Cos
( (midAngle) * Math.PI / 180 ) * relativeSize.Width * shift * expShift + middlePoint.X + relativeSize.Width / 10 * labelsHorizontalLineSize;
2596
double xComponent = Math.
Cos
( midAngle * Math.PI / 180 ) * rectangle.Width / 10;
3080
rectangle.X + (float)Math.
Cos
( 180 * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F,
3086
rectangle.X + (float)Math.
Cos
( 180 * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F,
3092
rectangle.X + (float)Math.
Cos
( 0 * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F,
3098
rectangle.X + (float)Math.
Cos
( 0 * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F,
3104
rectangle.X + (float)Math.
Cos
( startAngle * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F,
3110
rectangle.X + (float)Math.
Cos
( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F,
3116
rectangle.X + (float)Math.
Cos
( startAngle * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F,
3122
rectangle.X + (float)Math.
Cos
( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F,
3140
rectangle.X + (float)Math.
Cos
( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Width / 2F + rectangle.Width / 2F,
3157
rectangle.X + (float)Math.
Cos
( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Width * sizeOut / 2F + rectangle.Width / 2F,
3165
rectangle.X + (float)Math.
Cos
( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Width * ( 1 + doughnutRadius ) / 4F + rectangle.Width / 2F,
3172
rectangle.X + (float)Math.
Cos
( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Width * 0.5F / 2F + rectangle.Width / 2F,
3194
rectangle.X + (float)Math.
Cos
( 180 * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F,
3200
rectangle.X + (float)Math.
Cos
( 180 * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F,
3206
rectangle.X + (float)Math.
Cos
( 0 * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F,
3212
rectangle.X + (float)Math.
Cos
( 0 * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F,
3218
rectangle.X + (float)Math.
Cos
( startAngle * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F,
3224
rectangle.X + (float)Math.
Cos
( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F,
3230
rectangle.X + (float)Math.
Cos
( startAngle * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F,
3236
rectangle.X + (float)Math.
Cos
( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Width * doughnutRadius / 2F + rectangle.Width / 2F,
4963
if( Math.
Cos
( angle ) == 0 )
4969
correct = (float)(_innerPlotPosition.Width * 0.4 - _innerPlotPosition.Width * 0.4 / Math.
Cos
( angle ));
Common\General\Axis.cs (10)
2390
dX = (float)(offset * Math.
Cos
(angleAxis));
2395
dX = (float)(offset * Math.
Cos
(angleAxis));
2400
dY = (float)(offset * Math.
Cos
(angleAxis));
2414
dY = (float)(offset * Math.
Cos
(angleAxis));
5527
width = (float)Math.
Cos
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height;
5531
height += (float)Math.
Cos
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Width;
5535
width = (float)Math.
Cos
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Width;
5539
height += (float)Math.
Cos
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height;
5757
width = (float)Math.
Cos
((90 - Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Width;
5758
width += (float)Math.
Cos
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height;
Common\General\ChartArea.cs (1)
2710
float width = (float)Math.
Cos
(textAngle/180F*Math.PI) * textSize.Width;
Common\General\ChartGraphics.cs (1)
2073
float sizeChange = truncateRect.Width / (float)Math.
Cos
(Math.Abs(angle) / 180F * Math.PI);
Common\General\Matrix3D.cs (6)
728
rotationMatrix[1][1] = (float)Math.
Cos
( angle );
731
rotationMatrix[2][2] = (float)Math.
Cos
( angle );
736
rotationMatrix[0][0] = (float)Math.
Cos
( angle );
739
rotationMatrix[2][2] = (float)Math.
Cos
( angle );
744
rotationMatrix[0][0] = (float)Math.
Cos
( angle );
747
rotationMatrix[1][1] = (float)Math.
Cos
( angle );
WindowsBase (1)
Base\System\Windows\Media\Matrix.cs (1)
789
double cos = Math.
Cos
(angle);