PostGIS  2.1.10dev-r@@SVN_REVISION@@
static size_t assvg_multipoint_size ( const LWMPOINT mpoint,
int  relative,
int  precision 
)
static

Multipoint Geometry.

Definition at line 254 of file lwout_svg.c.

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

Referenced by assvg_geom_size(), and assvg_multipoint().

255 {
256  const LWPOINT *point;
257  size_t size=0;
258  int i;
259 
260  for (i=0 ; i<mpoint->ngeoms ; i++)
261  {
262  point = mpoint->geoms[i];
263  size += assvg_point_size(point, relative, precision);
264  }
265  size += sizeof(",") * --i; /* Arbitrary comma separator */
266 
267  return size;
268 }
LWPOINT ** geoms
Definition: liblwgeom.h:426
static size_t assvg_point_size(const LWPOINT *point, int circle, int precision)
Point Geometry.
Definition: lwout_svg.c:94
int ngeoms
Definition: liblwgeom.h:424

Here is the call graph for this function:

Here is the caller graph for this function: