PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ IntervalIsContained()

static uint32 IntervalIsContained ( RTREE_INTERVAL interval,
double  value 
)
static

Returns 1 if min < value <= max, 0 otherwise.

Definition at line 101 of file lwgeom_rtree.c.

102 {
103  return FP_CONTAINS_INCL(interval->min, value, interval->max) ? 1 : 0;
104 }
#define FP_CONTAINS_INCL(A, X, B)
int value
Definition: genraster.py:61

References FP_CONTAINS_INCL, RTREE_INTERVAL::max, RTREE_INTERVAL::min, and genraster::value.

Referenced by RTreeFindLineSegments().

Here is the caller graph for this function: