In my notes there is a place where "we project radially onto the ball $\partial B(x,r) \subseteq \mathbb{R}^n$", but this map is not precisely defined. I would like to confirm whether I understand it correctly.
Is the radial prjection onto $\partial B(x,r)$ defined as follows $\pi_{x}:\mathbb{R}^n \setminus\{x\} \to \partial B(x,r)$, $\pi_{x}(y)=\frac{(y-x)r}{|y-x|}+x$ ? My slight confusion comes from the fact that we project onto $\partial B(x,r)$ as opposed to the unit sphere $\mathbb{S}^{n-1}$ at the origin. The latter seems to be defined by the map $\pi_{x}(y)=\frac{y-x}{|y-x|}$, so to map it onto $\partial B(x,r)$ I just rescaled by $r$ and translated to $x$. Does this look right?