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

Definition at line 110 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().

111 {
112  char *rv = NULL;
113 
114  if ( a == NULL )
115  return pstrdup("<NULLPTR>");
116 
117  rv = palloc(128);
118  sprintf(rv, "BOX2DF(%.12g %.12g, %.12g %.12g)", a->xmin, a->ymin, a->xmax, a->ymax);
119  return rv;
120 }

Here is the caller graph for this function: