PostGIS  3.1.6dev-r@@SVN_REVISION@@

◆ box2df_set_finite()

void box2df_set_finite ( BOX2DF *  a)
inline

Definition at line 163 of file gserialized_gist_2d.c.

164 {
165  if ( ! isfinite(a->xmax) )
166  a->xmax = FLT_MAX;
167  if ( ! isfinite(a->ymax) )
168  a->ymax = FLT_MAX;
169  if ( ! isfinite(a->ymin) )
170  a->ymin = -1*FLT_MAX;
171  if ( ! isfinite(a->xmin) )
172  a->xmin = -1*FLT_MAX;
173  return;
174 }

Referenced by gserialized_gist_compress_2d(), and gserialized_spgist_compress_2d().

Here is the caller graph for this function: