Return 1 if a temporal circular buffer and a geometry are ever/always within the given distance, 0 if not, -1 on error or if the geometry is empty.