# Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.
BUILT-IN WOLFRAM LANGUAGE SYMBOL

# Ball

Ball[p]
represents the unit ball centered at the point p.

Ball[p,r]
represents the ball of radius r centered at the point p.

Ball[{p1,p2,},r]
represents a collection of balls of radius r.

## DetailsDetails

• Ball is also known as center interval, disk, ball, and hyperball.
• Ball can be used as a geometric region and a graphics primitive.
• Ball[] is equivalent to Ball[{0,0,0}].
• Ball[n] for integer n is equivalent to Ball[{0,,0}], a unit ball in .
• Ball represents a filled ball . The region is dimensional for point p of length .
• Ball allows p to be any point in and r any positive real number.
• Ball can be used in Graphics and Graphics3D.
• In graphics, the points p, pi and radii r can be Scaled and Dynamic expressions.
• Graphics rendering is affected by directives such as FaceForm, EdgeForm, Specularity, Opacity, and color.
• Ball[{p1,p2,},{r1,r2,}] represents a collection of spheres with centers pi and radii ri.

## ExamplesExamplesopen allclose all

### Basic Examples  (2)Basic Examples  (2)

A unit ball in 3D:

 In[1]:=
 Out[1]=

In 2D:

 In[3]:=
 Out[3]=

Volume and centroid:

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=

## See AlsoSee Also

Introduced in 2014
(10.0)