/// <summary> /// Compares the passed sphere to this one for equality. /// </summary> /// <param name="other"> /// Sphere to compare. /// </param> /// <returns> /// <c>true</c>, if both spheres are equal, and <c>false</c> otherwise. /// </returns> public bool Equals(SphereF other) { return(this.Center.Equals(other.Center) && MathF.Equals(this.Radius, other.Radius)); }