PostGIS  2.4.9dev-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 267 of file lwout_svg.c.

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

Referenced by assvg_geom_size(), and assvg_multipoint().

268 {
269  const LWPOINT *point;
270  size_t size=0;
271  int i;
272 
273  for (i=0 ; i<mpoint->ngeoms ; i++)
274  {
275  point = mpoint->geoms[i];
276  size += assvg_point_size(point, relative, precision);
277  }
278  size += sizeof(",") * --i; /* Arbitrary comma separator */
279 
280  return size;
281 }
uint8_t precision
Definition: cu_in_twkb.c:25
LWPOINT ** geoms
Definition: liblwgeom.h:470
static size_t assvg_point_size(const LWPOINT *point, int circle, int precision)
Point Geometry.
Definition: lwout_svg.c:107
int ngeoms
Definition: liblwgeom.h:468
Here is the call graph for this function:
Here is the caller graph for this function: