public bool Equals(Coordinates3D other) { return other.X.Equals(X) && other.Y.Equals(Y) && other.Z.Equals(Z); }
public double DistanceTo(Coordinates3D other) { return Math.Sqrt(Square((double)other.X - (double)X) + Square((double)other.Y - (double)Y) + Square((double)other.Z - (double)Z)); }