Esempio n. 1
0
 /// <summary>
 /// Returns the distance |a-b| of two quaternions, forming a metric space.
 /// </summary>
 public static double Distance(Quaternion a, Quaternion b)
 {
     return(a.Subtract(b).Abs);
 }
Esempio n. 2
0
 Distance(
     Quaternion a,
     Quaternion b
     )
 {
     return a.Subtract(b).Abs;
 }
Esempio n. 3
0
 /// <summary>
 /// Returns the distance |a-b| of two quaternions, forming a metric space.
 /// </summary>
 public static double Distance(Quaternion a, Quaternion b)
 {
     return a.Subtract(b).Abs;
 }
Esempio n. 4
0
 Distance(
     Quaternion a,
     Quaternion b)
 {
     return(a.Subtract(b).Abs);
 }