PostGIS  2.1.10dev-r@@SVN_REVISION@@
static size_t assvg_multipoint_buf ( const LWMPOINT mpoint,
char *  output,
int  relative,
int  precision 
)
static

Definition at line 271 of file lwout_svg.c.

References assvg_point_buf(), LWMPOINT::geoms, and LWMPOINT::ngeoms.

Referenced by assvg_geom_buf(), and assvg_multipoint().

272 {
273  const LWPOINT *point;
274  int i;
275  char *ptr=output;
276 
277  for (i=0 ; i<mpoint->ngeoms ; i++)
278  {
279  if (i) ptr += sprintf(ptr, ","); /* Arbitrary comma separator */
280  point = mpoint->geoms[i];
281  ptr += assvg_point_buf(point, ptr, relative, precision);
282  }
283 
284  return (ptr-output);
285 }
LWPOINT ** geoms
Definition: liblwgeom.h:426
static size_t assvg_point_buf(const LWPOINT *point, char *output, int circle, int precision)
Definition: lwout_svg.c:106
int ngeoms
Definition: liblwgeom.h:424

Here is the call graph for this function:

Here is the caller graph for this function: