PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ box2df_set_finite()

void box2df_set_finite ( BOX2DF *  a)
inline

Definition at line 165 of file gserialized_gist_2d.c.

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

Referenced by gserialized_gist_compress_2d(), and gserialized_spgist_compress_2d().

Here is the caller graph for this function: