PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ BOX2D_same()

Datum BOX2D_same ( PG_FUNCTION_ARGS  )

Definition at line 175 of file lwgeom_box.c.

176 {
177  GBOX *box1 = (GBOX *) PG_GETARG_POINTER(0);
178  GBOX *box2 = (GBOX *) PG_GETARG_POINTER(1);
179 
180  PG_RETURN_BOOL(FPeq(box1->xmax, box2->xmax) &&
181  FPeq(box1->xmin, box2->xmin) &&
182  FPeq(box1->ymax, box2->ymax) &&
183  FPeq(box1->ymin, box2->ymin));
184 }
double ymax
Definition: liblwgeom.h:298
double xmax
Definition: liblwgeom.h:296
double ymin
Definition: liblwgeom.h:297
double xmin
Definition: liblwgeom.h:295

References GBOX::xmax, GBOX::xmin, GBOX::ymax, and GBOX::ymin.