MobilityDB 1.3
Loading...
Searching...
No Matches

◆ ea_spatialrel_tgeo_tgeo()

int ea_spatialrel_tgeo_tgeo ( const Temporal temp1,
const Temporal temp2,
datum_func2  func,
bool  ever 
)

Return 1 if two temporal geometries ever/always contains satisfy a spatial relationship, 0 if not, and -1 on error.

  • A temporal geometry ever contains another one if there is an instant in which the two temporal geometries satisfy the relationship.
  • A temporal geometry always contains another one if the traversed area of the first temporal geometry contains the traversed area of the second one
    Parameters
    [in]temp1,temp2Temporal geometries
    [in]funcSpatial relationship function to apply
    [in]everTrue for the ever semantics, false for the always semantics