PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ stringbuffer_append_double()

static void stringbuffer_append_double ( stringbuffer_t s,
double  d,
int  precision 
)
inlinestatic

Definition at line 112 of file stringbuffer.h.

113 {
115  s->str_end += lwprint_double(d, precision, s->str_end);
116 }
static uint8_t precision
Definition: cu_in_twkb.c:25
char * s
Definition: cu_in_wkt.c:23
#define OUT_MAX_BYTES_DOUBLE
int lwprint_double(double d, int maxdd, char *buf)
Definition: lwprint.c:457
static void stringbuffer_makeroom(stringbuffer_t *s, size_t size_to_add)
If necessary, expand the stringbuffer_t internal buffer to accommodate the specified additional size.
Definition: stringbuffer.h:71

References lwprint_double(), OUT_MAX_BYTES_DOUBLE, precision, s, and stringbuffer_makeroom().

Referenced by asgml2_ptarray(), asgml3_ptarray(), coordinate_to_geojson(), coordinate_to_wkt_sb(), and ptarray_to_kml2_sb().

Here is the call graph for this function:
Here is the caller graph for this function: