A generalization of Charathéodory`s theorem