Star-shaped set (source code)

= Star-shaped set
{wiki}

A subset $S$ of a real <vector space> is a <star-shaped set> if some point $p\in S$ sees every point of $S$ along a segment lying in $S$: $(1-t)p+tx\in S$ for all $x\in S$ and $0\le t\le1$. Every <convex set> is star-shaped about each of its points; a <star-shaped set> need only have one such point.

For example, the union of the horizontal and vertical line segments through the origin is star-shaped about the origin but is not <convex>. In a <topological vector space>, the map $H(x,t)=(1-t)x+tp$ contracts a <star-shaped set> to $p$. This makes it <contractible>, a useful bridge from elementary geometry to <homotopy theory>.