Let $\mathbb{S}^{n}$ denote the $n$-dimensional probability simplex and let $\{e_1,...,e_{n+1}\}$ be the canonical basis of $\mathbb{R}^{n+1}$. Consider the subset $\mathbb{S}^{n}(K) \subset \mathbb{S}^{n}$, such that $K \subset \{e_1,...,e_{n+1}\}$, defined as the vectors of $\mathbb{S}^{n}$ that can be written as linear combinations of elements of $K$. For example, if $n=2$ and $|K| = 2$, then $\mathbb{S}^{n}(K)$ is one of the edges of the $2$-simplex.
I'm trying to find a general formula for the minimum (euclidean) distance between an arbitrary element $x \in \mathbb{S}^{n}$ and some subset $\mathbb{S}^{n}(K)$. Is it already known? Is it the orthogonal projection of $x$ onto span$(K)$? How can I calculate it?