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

Multipoint Geometry.

Definition at line 253 of file lwout_svg.c.

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

Referenced by assvg_geom_size(), and assvg_multipoint().

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

Here is the call graph for this function:

Here is the caller graph for this function: