Anisotropic Spaces and the Distance Function