Returns the temporal distance between the temporal point and the geometry/geography point (distpatch function)