Assume that $M\subset R^n$, $n\ge 3$, is a boundary of an open bounded set $D$ containing $0$, which is starlike w.r.t. 0, meaning that each ray $[0,x]$ from $x\in M$ to $0$ meets $M$ only once. Is $M$ smooth almost everywhere?



Boundary of star-shaped domain
The unit circle is a boundary of an open bounded set $D$ containing $\mathbf{0}$,
  

which is starlike w.r.t. $\mathbf{0}$, and which is smooth almost everywhere.
  
  
  

When $f$ is [the original Weierstrass function](http://en.wikipedia.org/wiki/Weierstrass_function#Construction), $\;\; \left\{\begin{bmatrix} \left(\frac{1+a}{1+(-a)}+f(\theta)\right) \cdot \cos(\pi \cdot \theta) \\ \left(\frac{1+a}{1+(-a)}+f(\theta)\right) \cdot \sin(\pi \cdot \theta) \end{bmatrix} \: : \: \theta \in [-1,1]\right\}$


is a boundary of an open bounded set $D$ containing $\mathbf{0}$, which
  

is starlike w.r.t. $\mathbf{0}$, and which is not smooth almost everywhere.
  
  



