PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ box2df_set_finite()

void box2df_set_finite ( BOX2DF *  a)
inline

Definition at line 170 of file gserialized_gist_2d.c.

171 {
172  if ( ! isfinite(a->xmax) )
173  a->xmax = FLT_MAX;
174  if ( ! isfinite(a->ymax) )
175  a->ymax = FLT_MAX;
176  if ( ! isfinite(a->ymin) )
177  a->ymin = -1*FLT_MAX;
178  if ( ! isfinite(a->xmin) )
179  a->xmin = -1*FLT_MAX;
180  return;
181 }

Referenced by gserialized_gist_compress_2d(), and gserialized_spgist_compress_2d().

Here is the caller graph for this function: