PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ assvg_multipoint_size()

static size_t assvg_multipoint_size ( const LWMPOINT mpoint,
int  relative,
int  precision 
)
static

Multipoint Geometry.

Definition at line 257 of file lwout_svg.c.

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

Referenced by assvg_geom_size(), and assvg_multipoint().

258 {
259  const LWPOINT *point;
260  size_t size=0;
261  uint32_t i;
262 
263  for (i=0 ; i<mpoint->ngeoms ; i++)
264  {
265  point = mpoint->geoms[i];
266  size += assvg_point_size(point, relative, precision);
267  }
268  size += sizeof(",") * --i; /* Arbitrary comma separator */
269 
270  return size;
271 }
uint32_t ngeoms
Definition: liblwgeom.h:470
static size_t assvg_point_size(__attribute__((__unused__)) const LWPOINT *point, int circle, int precision)
Point Geometry.
Definition: lwout_svg.c:107
unsigned int uint32_t
Definition: uthash.h:78
uint8_t precision
Definition: cu_in_twkb.c:25
LWPOINT ** geoms
Definition: liblwgeom.h:472
Here is the call graph for this function:
Here is the caller graph for this function: