Example #1
0
 public bool Equals(I3D <int> other) => IsEquals(this, other);
Example #2
0
 public static bool IsCollinear(I3D <int> p1, I3D <int> p2) => p1.X / p2.X == p1.Y / p2.Y;
Example #3
0
 public static double GetRangeBetween(I3D <int> p1, I3D <int> p2)
 {
     return(Math.Sqrt(Math.Pow(p1.X - p2.X, 2) + Math.Pow(p1.Y - p2.Y, 2) + Math.Pow(p1.Z - p2.Z, 2)));
 }
Example #4
0
 public static bool IsEquals(I3D <int> p1, I3D <int> p2) => p1.X == p2.X && p1.Y == p2.Y;
Example #5
0
 public bool Equals(I3D <double> other) => IsEquals(this, other);