13 lines
300 B
C#
13 lines
300 B
C#
using System;
|
|
using System.ComponentModel;
|
|
|
|
namespace DTS.Common.Utilities
|
|
{
|
|
public static class DegreesFromADC
|
|
{
|
|
public static double GetDegrees(double Sxyz, double SG)
|
|
{
|
|
return (180.0 / System.Math.PI) * System.Math.Asin(Sxyz / SG);
|
|
}
|
|
}
|
|
} |