PostGIS  3.3.9dev-r@@SVN_REVISION@@

◆ stringbuffer_append_double()

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

Definition at line 110 of file stringbuffer.h.

111 {
113  s->str_end += lwprint_double(d, precision, s->str_end);
114 }
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:463
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:69

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

Referenced by 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: