PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ box2df_copy()

BOX2DF* box2df_copy ( BOX2DF *  b)

Definition at line 148 of file gserialized_gist_2d.c.

Referenced by gserialized_gist_compress_2d(), gserialized_gist_union_2d(), and spatial_index_read_extent().

149 {
150  BOX2DF *c = (BOX2DF*)palloc(sizeof(BOX2DF));
151  memcpy((void*)c, (void*)b, sizeof(BOX2DF));
152  POSTGIS_DEBUGF(5, "copied box2df (%p) to box2df (%p)", b, c);
153  return c;
154 }
Here is the caller graph for this function: