Optimisation of Hardy - type inequalities with applications in infinite dimensional Geometry