PostGIS  2.2.7dev-r@@SVN_REVISION@@
static uint32 IntervalIsContained ( RTREE_INTERVAL interval,
double  value 
)
static

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

Definition at line 87 of file lwgeom_rtree.c.

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

Referenced by RTreeFindLineSegments().

88 {
89  return FP_CONTAINS_INCL(interval->min, value, interval->max) ? 1 : 0;
90 }
#define FP_CONTAINS_INCL(A, X, B)

Here is the caller graph for this function: