|
|
|
@ -512,7 +512,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS) |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Range A is overleft to range B if upper bound of A is |
|
|
|
|
* less or equal to upper bound of B. |
|
|
|
|
* less than or equal to upper bound of B. |
|
|
|
|
*/ |
|
|
|
|
maxUpper = &upper; |
|
|
|
|
break; |
|
|
|
@ -531,7 +531,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS) |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Range A is overright to range B if lower bound of A is |
|
|
|
|
* greater or equal to lower bound of B. |
|
|
|
|
* greater than or equal to lower bound of B. |
|
|
|
|
*/ |
|
|
|
|
minLower = &lower; |
|
|
|
|
break; |
|
|
|
@ -608,7 +608,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS) |
|
|
|
|
/*
|
|
|
|
|
* Non-empty range A contains non-empty range B if lower |
|
|
|
|
* bound of A is lower or equal to lower bound of range B |
|
|
|
|
* and upper bound of range A is greater or equal to upper |
|
|
|
|
* and upper bound of range A is greater than or equal to upper |
|
|
|
|
* bound of range A. |
|
|
|
|
* |
|
|
|
|
* All non-empty ranges contain an empty range. |
|
|
|
|