Distances function

Direct entry points to "tqDist" functions