PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ box2df_to_string()

static char* box2df_to_string ( const BOX2DF *  a)
static

Definition at line 135 of file gserialized_gist_2d.c.

136 {
137  char *rv = NULL;
138 
139  if ( a == NULL )
140  return pstrdup("<NULLPTR>");
141 
142  rv = palloc(128);
143  sprintf(rv, "BOX2DF(%.12g %.12g, %.12g %.12g)", a->xmin, a->ymin, a->xmax, a->ymax);
144  return rv;
145 }

Referenced by box2df_merge(), box2df_out(), box2df_union_edge(), box2df_union_size(), box2df_validate(), gserialized_datum_get_box2df_p(), gserialized_datum_predicate_2d(), gserialized_datum_predicate_box2df_geom_2d(), gserialized_distance_box_2d(), gserialized_distance_centroid_2d(), gserialized_gist_compress_2d(), gserialized_gist_consistent_internal_2d(), gserialized_gist_picksplit_2d(), and gserialized_gist_union_2d().

Here is the caller graph for this function: