PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ box2df_to_string()

static char* box2df_to_string ( const BOX2DF *  a)
static

Definition at line 117 of file gserialized_gist_2d.c.

118 {
119  char *rv = NULL;
120 
121  if ( a == NULL )
122  return pstrdup("<NULLPTR>");
123 
124  rv = palloc(128);
125  sprintf(rv, "BOX2DF(%.12g %.12g, %.12g %.12g)", a->xmin, a->ymin, a->xmax, a->ymax);
126  return rv;
127 }

Referenced by box2df_merge(), box2df_out(), 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: