PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ initRectBox()

static RectBox* initRectBox ( void  )
static

Definition at line 154 of file gserialized_spgist_2d.c.

155 {
156  RectBox *rect_box = (RectBox *)palloc(sizeof(RectBox));
157  float infinity = FLT_MAX;
158 
159  rect_box->left.xmin = -infinity;
160  rect_box->left.xmax = infinity;
161 
162  rect_box->left.ymin = -infinity;
163  rect_box->left.ymax = infinity;
164 
165  rect_box->right.xmin = -infinity;
166  rect_box->right.xmax = infinity;
167 
168  rect_box->right.ymin = -infinity;
169  rect_box->right.ymax = infinity;
170 
171  return rect_box;
172 }

References RectBox::left, and RectBox::right.

Referenced by gserialized_spgist_inner_consistent_2d().

Here is the caller graph for this function: