PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ box2df_set_finite()

void box2df_set_finite ( BOX2DF *  a)
inline

Definition at line 152 of file gserialized_gist_2d.c.

153 {
154  if ( ! isfinite(a->xmax) )
155  a->xmax = FLT_MAX;
156  if ( ! isfinite(a->ymax) )
157  a->ymax = FLT_MAX;
158  if ( ! isfinite(a->ymin) )
159  a->ymin = -1*FLT_MAX;
160  if ( ! isfinite(a->xmin) )
161  a->xmin = -1*FLT_MAX;
162  return;
163 }

Referenced by gserialized_gist_compress_2d(), and gserialized_spgist_compress_2d().

Here is the caller graph for this function: