Added support for zero-distance points in get_times.