Given haptic point (same as just a different name):

the minimum distance from the place ( can be computed as the distance of from (: proxy) where is defined as the projection of onto .