\(\displaystyle (x-x_0)^2 + (y-y_0)^2 + (z-z_0)^2= r^2\)
I'm not an expert, but using the above equation you'd need to just plug in the values of the center (x[sub:4nx4gugw]0[/sub:4nx4gugw],y[sub:4nx4gugw]0[/sub:4nx4gugw],z[sub:4nx4gugw]0[/sub:4nx4gugw]) and the radius. Hopefully someone will verify this-