Call the PostGIS function ST_Relate twice to compute the ever contains relationship between the trajectory of a temporal point and a geometry.