A short survey of a series of results by the author, partly obtained in collaboration with Yu. Burago.