PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ gbox_init()

void gbox_init ( GBOX gbox)

Zero out all the entries in the GBOX.

Useful for cleaning statically allocated gboxes.

Definition at line 51 of file g_box.c.

Referenced by BOX2D_in(), gbox_new(), gserialized_datum_get_box2df_p(), lwgeom_distance_spheroid(), lwgeom_geohash(), LWGEOM_to_BOX(), mvt_geom(), ptarray_calculate_gbox_geodetic(), test_geohash_precision(), test_gserialized_peek_gbox_p_fails_for_unsupported_cases(), test_gserialized_peek_gbox_p_gets_correct_box(), and test_gserialized_peek_gbox_p_no_box_when_empty().

52 {
53  memset(gbox, 0, sizeof(GBOX));
54 }
Here is the caller graph for this function: