Hardy–Sobolev inequalities with singularities on non smooth boundary: Hardy constant and extremals. Part I: Influence of local geometry. (May 2019)