Half-spaces, wedges and cone theorems in riemannian geometry