&&(box2df,box2df) — Returns TRUE
if two 2D float precision bounding boxes (BOX2DF) intersect each other.
boolean &&(
box2df A , box2df B )
;
The &&
operator returns TRUE
if two 2D bounding boxes A and B intersect each other, using float precision. This means that if A (or B) is a (double precision) box2d, it will be internally converted to a float precision 2D bounding box (BOX2DF)
This operator is intended to be used internally by BRIN indexes, more than by users. |
Availability: 2.3.0 support for Block Range INdexes (BRIN) was introduced. Requires PostgreSQL 9.5+.
Questo metodo supporta le Curve e le Circular String.
Questa funzione supporta le Polyhedral Surface.
SELECT ST_MakeBox2D(ST_Point(0,0), ST_Point(2,2)) && ST_MakeBox2D(ST_Point(1,1), ST_Point(3,3)) AS overlaps; overlaps ---------- t (1 row)