MobilityDB 1.1

◆ MOBDB_point_in_polygon()

static int MOBDB_point_in_polygon ( const GSERIALIZED geom1,
const GSERIALIZED geom2,
bool  inter 
)
static

Return -1, 0, or 1 depending on whether a (multi)point is completely outside, on the boundary, or completely inside a (multi)polygon.

Note
This function is based PostGIS function pip_short_circuit bypassing the cache