PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ box2df_copy()

BOX2DF* box2df_copy ( BOX2DF *  b)

Definition at line 143 of file gserialized_gist_2d.c.

144 {
145  BOX2DF *c = (BOX2DF*)palloc(sizeof(BOX2DF));
146  memcpy((void*)c, (void*)b, sizeof(BOX2DF));
147  POSTGIS_DEBUGF(5, "copied box2df (%p) to box2df (%p)", b, c);
148  return c;
149 }

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

Here is the caller graph for this function: