Exemple #1
0
 public static My_Vector Norming(this My_Vector a)
 {
     return(a * (1.0 / a.GetNorm()));
 }
Exemple #2
0
 public double GetAngle(My_Vector b)
 {
     return(Math.Acos((X * b.X + Y * b.Y + Z * b.Z) / (GetNorm() * b.GetNorm())));
 }
Exemple #3
0
 public static double MixedProduct(this My_Vector a, My_Vector b, My_Vector c)
 {
     return(c * (a ^ b));
 }