Ejemplo n.º 1
0
 /// <summary>
 /// Determines if the specified point is inside the sphere.
 /// </summary>
 /// <param name="point">
 /// The point.
 /// </param>
 /// <returns>
 /// True if the point is inside.
 /// </returns>
 public bool Contains(Point3D point)
 {
     return point.DistanceToSquared(this.center) < this.radius * this.radius;
 }