PostGIS  2.4.9dev-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.

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

Referenced by RTreeFindLineSegments().

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
Here is the caller graph for this function: