Given a metric space with distance function and a positive real number , the solid sphere (or ball) or radius and center is the set defined by
In the case where is finite, the volume of the (solid) sphere is its number of elements .
This doesn’t have to be an actual sphere, its just an area where the distance between two vertices is constant.