Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the Angle.
 /// </summary>
 /// <param name="value"></param>
 /// <param name="unit"></param>
 public Angle(double value, Degrees unit)
 {
     this.Radians = UnitConverter.ConvertFrom(value, unit);
 }
Ejemplo n.º 2
0
 //// ReSharper disable once UnusedMember.Global
 //// ReSharper disable once UnusedParameter.Local
 public Angle(double value, Degrees unit)
 {
     this.Radians = value * DegToRad;
 }