PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ box2df_copy()

BOX2DF* box2df_copy ( BOX2DF *  b)

Definition at line 130 of file gserialized_gist_2d.c.

131 {
132  BOX2DF *c = (BOX2DF*)palloc(sizeof(BOX2DF));
133  memcpy((void*)c, (void*)b, sizeof(BOX2DF));
134  POSTGIS_DEBUGF(5, "copied box2df (%p) to box2df (%p)", b, c);
135  return c;
136 }

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

Here is the caller graph for this function: