In the paper we study the properties of a metric function which is the
extension by continuity of the intrinsic metric of the interior of a
submanifold to its boundary. This approach is the development of the classical
intrinsic geometry of surfaces studied by A.D. Alexandrov and his school