PostGIS  2.5.7dev-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.

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 }
static uint8_t precision
Definition: cu_in_twkb.c:25
static size_t assvg_point_size(__attribute__((__unused__)) const LWPOINT *point, int circle, int precision)
Point Geometry.
Definition: lwout_svg.c:107
uint32_t ngeoms
Definition: liblwgeom.h:471
LWPOINT ** geoms
Definition: liblwgeom.h:473
unsigned int uint32_t
Definition: uthash.h:78

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

Referenced by assvg_geom_size(), and assvg_multipoint().

Here is the call graph for this function:
Here is the caller graph for this function: