PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
void gbox_float_round | ( | GBOX * | gbox | ) |
Round given GBOX to float boundaries.
This turns a GBOX into the version it would become after a serialize/deserialize round trip.
Definition at line 717 of file g_box.c.
References GBOX::flags, FLAGS_GET_M, FLAGS_GET_Z, GBOX::mmax, GBOX::mmin, next_float_down(), next_float_up(), GBOX::xmax, GBOX::xmin, GBOX::ymax, GBOX::ymin, GBOX::zmax, and GBOX::zmin.
Referenced by gserialized_get_gbox_p(), gserialized_peek_gbox_p(), test_gserialized_peek_gbox_p_gets_correct_box(), and test_lwgeom_from_gserialized().