Return false if any of the dimensions is NaN or infinite.
Definition at line 209 of file g_box.c.
References GBOX::flags, FLAGS_GET_GEODETIC, FLAGS_GET_M, FLAGS_GET_Z, LW_FALSE, LW_TRUE, GBOX::mmax, GBOX::mmin, GBOX::xmax, GBOX::xmin, GBOX::ymax, GBOX::ymin, GBOX::zmax, and GBOX::zmin.
Referenced by compute_gserialized_stats_mode().
212 if ( ! isfinite(gbox->
xmin) || isnan(gbox->
xmin) ||
213 ! isfinite(gbox->
xmax) || isnan(gbox->
xmax) )
217 if ( ! isfinite(gbox->
ymin) || isnan(gbox->
ymin) ||
218 ! isfinite(gbox->
ymax) || isnan(gbox->
ymax) )
224 if ( ! isfinite(gbox->
zmin) || isnan(gbox->
zmin) ||
225 ! isfinite(gbox->
zmax) || isnan(gbox->
zmax) )
232 if ( ! isfinite(gbox->
mmin) || isnan(gbox->
mmin) ||
233 ! isfinite(gbox->
mmax) || isnan(gbox->
mmax) )
#define FLAGS_GET_GEODETIC(flags)
#define LW_TRUE
Return types for functions with status returns.
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
#define FLAGS_GET_M(flags)