Return true if the trajectory of the temporal network point and the network point are within the given distance.