142 references to Sin
mscorlib (1)
system\globalization\CalendricalCalculationsHelper.cs (1)
48
return Math.
Sin
(RadiansFromDegrees(degree));
PresentationCore (10)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
1425
M01 = Math.
Sin
(dAngle);
Core\CSharp\System\Windows\Media\Animation\BackEase.cs (1)
47
return Math.Pow(normalizedTime, 3.0) - normalizedTime * amp * Math.
Sin
(Math.PI * normalizedTime);
Core\CSharp\System\Windows\Media\Animation\ElasticEase.cs (1)
85
return expo * (Math.
Sin
((Math.PI * 2.0 * oscillations + Math.PI * 0.5) * normalizedTime));
Core\CSharp\System\Windows\Media\Animation\SineEase.cs (1)
16
return 1.0 - Math.
Sin
(Math.PI * 0.5 * (1 - normalizedTime));
Core\CSharp\System\Windows\Media\Effects\DropShadowEffect.cs (1)
51
double offsetY = depth * Math.
Sin
(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 (4)
98
Vector3D v = (axisOfRotation / length) * Math.
Sin
(0.5 * angleInRadians);
570
scaleTo = Math.
Sin
(theta);
577
scaleFrom = Math.
Sin
((1.0 - t) * omega) / sinOmega;
578
scaleTo = Math.
Sin
(t * omega) / sinOmega;
System.Numerics (24)
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));
361
Double result_im = temp_factor * Math.
Sin
(value.m_imaginary);
393
return new Complex(t * Math.Cos(newRho), t * Math.
Sin
(newRho));
System\Numerics\Matrix3x2.cs (2)
363
s = (float)Math.
Sin
(radians);
423
s = (float)Math.
Sin
(radians);
System\Numerics\Matrix4x4.cs (7)
586
float s = (float)Math.
Sin
(radians);
623
float s = (float)Math.
Sin
(radians);
662
float s = (float)Math.
Sin
(radians);
699
float s = (float)Math.
Sin
(radians);
738
float s = (float)Math.
Sin
(radians);
775
float s = (float)Math.
Sin
(radians);
838
float sa = (float)Math.
Sin
(angle), ca = (float)Math.Cos(angle);
System\Numerics\Quaternion.cs (8)
168
float s = (float)Math.
Sin
(halfAngle);
193
sr = (float)Math.
Sin
(halfRoll);
197
sp = (float)Math.
Sin
(halfPitch);
201
sy = (float)Math.
Sin
(halfYaw);
317
float invSinOmega = (float)(1 / Math.
Sin
(omega));
319
s1 = (float)Math.
Sin
((1.0f - t) * omega) * invSinOmega;
321
? (float)-Math.
Sin
(t * omega) * invSinOmega
322
: (float)Math.
Sin
(t * omega) * invSinOmega;
System.Web.DataVisualization (53)
Common\ChartTypes\FunnelChart.cs (7)
681
float topRotationHeight = (float)( (startWidth / 2f) * Math.
Sin
(this._rotation3D / 180F * Math.PI) );
682
float bottomRotationHeight = (float)( (endWidth / 2f) * Math.
Sin
(this._rotation3D / 180F * Math.PI) );
995
float topRotationHeight = (float)( (startWidth / 2f) * Math.
Sin
(this._rotation3D / 180F * Math.PI) );
996
float bottomRotationHeight = (float)( (endWidth / 2f) * Math.
Sin
(this._rotation3D / 180F * Math.PI) );
2035
labelInfo.Position.Y += (float)( ( (segmentInfo.EndWidth + segmentInfo.StartWidth) / 4f) * Math.
Sin
(this._rotation3D / 180F * Math.PI) );
2211
float topSpacing = (float)Math.Abs( (plotAreaPositionAbs.Width/ 2f) * Math.
Sin
(this._rotation3D / 180F * Math.PI) );
2212
float bottomSpacing = (float)Math.Abs( (plotAreaPositionAbs.Width/ 2f) * Math.
Sin
(this._rotation3D / 180F * Math.PI) );
Common\ChartTypes\PieChart.cs (28)
872
double yComponent = Math.
Sin
( midAngle * Math.PI / 180 ) * rectangle.Height / 10;
1035
point.positionRel.Y = (float)Math.
Sin
( (midAngle) * Math.PI / 180 ) * rectangle.Height * expShift / 2 + middlePoint.Y;
1243
y = (float)Math.
Sin
( (startAngle + sweepAngle / 2) * Math.PI / 180 ) * height + middlePoint.Y;
1310
float y1 = (float)Math.
Sin
( (midAngle) * Math.PI / 180 ) * relativeSize.Height * expShift / 2 + middlePoint.Y;
1313
float y2 = (float)Math.
Sin
( (midAngle) * Math.PI / 180 ) * relativeSize.Height * shift * expShift + middlePoint.Y;
1333
float y3 = (float)Math.
Sin
((midAngle) * Math.PI / 180) * relativeSize.Height * shift * expShift + middlePoint.Y;
1715
float y3 = (float)Math.
Sin
( (midAngle) * Math.PI / 180 ) * relativeSize.Height * shift * expShift + middlePoint.Y;
2597
double yComponent = Math.
Sin
( midAngle * Math.PI / 180 ) * rectangle.Height / 10;
3081
rectangle.Y + (float)Math.
Sin
( 180 * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F,
3087
rectangle.Y + (float)Math.
Sin
( 180 * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F,
3093
rectangle.Y + (float)Math.
Sin
( 0 * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F,
3099
rectangle.Y + (float)Math.
Sin
( 0 * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F,
3105
rectangle.Y + (float)Math.
Sin
( startAngle * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F,
3111
rectangle.Y + (float)Math.
Sin
( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F,
3117
rectangle.Y + (float)Math.
Sin
( startAngle * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F,
3123
rectangle.Y + (float)Math.
Sin
( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F,
3141
rectangle.Y + (float)Math.
Sin
( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F,
3158
rectangle.Y + (float)Math.
Sin
( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Height * sizeOut / 2F + rectangle.Height / 2F,
3166
rectangle.Y + (float)Math.
Sin
( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Height * ( 1 + doughnutRadius ) / 4F + rectangle.Height / 2F,
3173
rectangle.Y + (float)Math.
Sin
( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Height * 0.5F / 2F + rectangle.Height / 2F,
3195
rectangle.Y + (float)Math.
Sin
( 180 * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F,
3201
rectangle.Y + (float)Math.
Sin
( 180 * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F,
3207
rectangle.Y + (float)Math.
Sin
( 0 * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F,
3213
rectangle.Y + (float)Math.
Sin
( 0 * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F,
3219
rectangle.Y + (float)Math.
Sin
( startAngle * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F,
3225
rectangle.Y + (float)Math.
Sin
( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F,
3231
rectangle.Y + (float)Math.
Sin
( startAngle * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F,
3237
rectangle.Y + (float)Math.
Sin
( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F,
Common\General\Axis.cs (8)
2401
dX = (float)(offset * Math.
Sin
(angleAxis));
2415
dX = (float)(offset * Math.
Sin
(angleAxis));
5528
width += (float)Math.
Sin
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Width;
5530
height = (float)Math.
Sin
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height;
5536
width += (float)Math.
Sin
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height;
5538
height = (float)Math.
Sin
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Width;
5760
height = (float)Math.
Sin
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height;
5761
height += (float)Math.
Sin
((90 - Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Width;
Common\General\ChartArea.cs (1)
2711
float height = (float)Math.
Sin
(textAngle/180F*Math.PI) * textSize.Width;
Common\General\ChartGraphics.cs (3)
1034
float diamondSize = markerSize * (float)Math.
Sin
(45f / 180f * Math.PI);
2018
offsetY = (float)Math.
Sin
((90 - angle) / 180F * Math.PI) * labelRect.Height / 2F;
2019
offsetX = (float)Math.
Sin
((Math.Abs(angle)) / 180F * Math.PI) * labelRect.Height / 2F;
Common\General\Matrix3D.cs (6)
729
rotationMatrix[1][2] = (float)-Math.
Sin
( angle );
730
rotationMatrix[2][1] = (float)Math.
Sin
( angle );
737
rotationMatrix[0][2] = (float)Math.
Sin
( angle );
738
rotationMatrix[2][0] = (float)-Math.
Sin
( angle );
745
rotationMatrix[0][1] = (float)-Math.
Sin
( angle );
746
rotationMatrix[1][0] = (float)Math.
Sin
( angle );
System.Windows.Forms.DataVisualization (53)
Common\ChartTypes\FunnelChart.cs (7)
681
float topRotationHeight = (float)( (startWidth / 2f) * Math.
Sin
(this._rotation3D / 180F * Math.PI) );
682
float bottomRotationHeight = (float)( (endWidth / 2f) * Math.
Sin
(this._rotation3D / 180F * Math.PI) );
995
float topRotationHeight = (float)( (startWidth / 2f) * Math.
Sin
(this._rotation3D / 180F * Math.PI) );
996
float bottomRotationHeight = (float)( (endWidth / 2f) * Math.
Sin
(this._rotation3D / 180F * Math.PI) );
2035
labelInfo.Position.Y += (float)( ( (segmentInfo.EndWidth + segmentInfo.StartWidth) / 4f) * Math.
Sin
(this._rotation3D / 180F * Math.PI) );
2211
float topSpacing = (float)Math.Abs( (plotAreaPositionAbs.Width/ 2f) * Math.
Sin
(this._rotation3D / 180F * Math.PI) );
2212
float bottomSpacing = (float)Math.Abs( (plotAreaPositionAbs.Width/ 2f) * Math.
Sin
(this._rotation3D / 180F * Math.PI) );
Common\ChartTypes\PieChart.cs (28)
872
double yComponent = Math.
Sin
( midAngle * Math.PI / 180 ) * rectangle.Height / 10;
1035
point.positionRel.Y = (float)Math.
Sin
( (midAngle) * Math.PI / 180 ) * rectangle.Height * expShift / 2 + middlePoint.Y;
1243
y = (float)Math.
Sin
( (startAngle + sweepAngle / 2) * Math.PI / 180 ) * height + middlePoint.Y;
1310
float y1 = (float)Math.
Sin
( (midAngle) * Math.PI / 180 ) * relativeSize.Height * expShift / 2 + middlePoint.Y;
1313
float y2 = (float)Math.
Sin
( (midAngle) * Math.PI / 180 ) * relativeSize.Height * shift * expShift + middlePoint.Y;
1333
float y3 = (float)Math.
Sin
((midAngle) * Math.PI / 180) * relativeSize.Height * shift * expShift + middlePoint.Y;
1715
float y3 = (float)Math.
Sin
( (midAngle) * Math.PI / 180 ) * relativeSize.Height * shift * expShift + middlePoint.Y;
2597
double yComponent = Math.
Sin
( midAngle * Math.PI / 180 ) * rectangle.Height / 10;
3081
rectangle.Y + (float)Math.
Sin
( 180 * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F,
3087
rectangle.Y + (float)Math.
Sin
( 180 * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F,
3093
rectangle.Y + (float)Math.
Sin
( 0 * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F,
3099
rectangle.Y + (float)Math.
Sin
( 0 * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F,
3105
rectangle.Y + (float)Math.
Sin
( startAngle * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F,
3111
rectangle.Y + (float)Math.
Sin
( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F,
3117
rectangle.Y + (float)Math.
Sin
( startAngle * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F,
3123
rectangle.Y + (float)Math.
Sin
( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F,
3141
rectangle.Y + (float)Math.
Sin
( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F,
3158
rectangle.Y + (float)Math.
Sin
( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Height * sizeOut / 2F + rectangle.Height / 2F,
3166
rectangle.Y + (float)Math.
Sin
( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Height * ( 1 + doughnutRadius ) / 4F + rectangle.Height / 2F,
3173
rectangle.Y + (float)Math.
Sin
( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Height * 0.5F / 2F + rectangle.Height / 2F,
3195
rectangle.Y + (float)Math.
Sin
( 180 * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F,
3201
rectangle.Y + (float)Math.
Sin
( 180 * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F,
3207
rectangle.Y + (float)Math.
Sin
( 0 * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F,
3213
rectangle.Y + (float)Math.
Sin
( 0 * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F,
3219
rectangle.Y + (float)Math.
Sin
( startAngle * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F,
3225
rectangle.Y + (float)Math.
Sin
( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F,
3231
rectangle.Y + (float)Math.
Sin
( startAngle * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F,
3237
rectangle.Y + (float)Math.
Sin
( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F,
Common\General\Axis.cs (8)
2401
dX = (float)(offset * Math.
Sin
(angleAxis));
2415
dX = (float)(offset * Math.
Sin
(angleAxis));
5528
width += (float)Math.
Sin
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Width;
5530
height = (float)Math.
Sin
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height;
5536
width += (float)Math.
Sin
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height;
5538
height = (float)Math.
Sin
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Width;
5760
height = (float)Math.
Sin
((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height;
5761
height += (float)Math.
Sin
((90 - Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Width;
Common\General\ChartArea.cs (1)
2711
float height = (float)Math.
Sin
(textAngle/180F*Math.PI) * textSize.Width;
Common\General\ChartGraphics.cs (3)
1034
float diamondSize = markerSize * (float)Math.
Sin
(45f / 180f * Math.PI);
2018
offsetY = (float)Math.
Sin
((90 - angle) / 180F * Math.PI) * labelRect.Height / 2F;
2019
offsetX = (float)Math.
Sin
((Math.Abs(angle)) / 180F * Math.PI) * labelRect.Height / 2F;
Common\General\Matrix3D.cs (6)
729
rotationMatrix[1][2] = (float)-Math.
Sin
( angle );
730
rotationMatrix[2][1] = (float)Math.
Sin
( angle );
737
rotationMatrix[0][2] = (float)Math.
Sin
( angle );
738
rotationMatrix[2][0] = (float)-Math.
Sin
( angle );
745
rotationMatrix[0][1] = (float)-Math.
Sin
( angle );
746
rotationMatrix[1][0] = (float)Math.
Sin
( angle );
WindowsBase (1)
Base\System\Windows\Media\Matrix.cs (1)
788
double sin = Math.
Sin
(angle);