PostGIS  2.3.7dev-r@@SVN_REVISION@@
static char* box2df_to_string ( const BOX2DF *  a)
static

Definition at line 134 of file gserialized_gist_2d.c.

Referenced by box2df_merge(), box2df_out(), box2df_union_size(), box2df_validate(), gserialized_datum_get_box2df_p(), gserialized_datum_predicate_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().

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

Here is the caller graph for this function: