PostGIS
3.0.6dev-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 774 of file gbox.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 gserialized1_get_gbox_p(), gserialized1_peek_gbox_p(), gserialized1_set_gbox(), gserialized2_get_gbox_p(), gserialized2_peek_gbox_p(), gserialized2_set_gbox(), test_gserialized1_peek_gbox_p_gets_correct_box(), test_gserialized2_peek_gbox_p_gets_correct_box(), test_lwgeom_from_gserialized(), and test_lwgeom_from_gserialized2().