PostGIS  3.1.6dev-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 248 of file lwout_svg.c.

249 {
250  const LWPOINT *point;
251  size_t size=0;
252  uint32_t i;
253 
254  for (i=0 ; i<mpoint->ngeoms ; i++)
255  {
256  point = mpoint->geoms[i];
257  size += assvg_point_size(point, relative, precision);
258  }
259  size += sizeof(",") * --i; /* Arbitrary comma separator */
260 
261  return size;
262 }
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:552
LWPOINT ** geoms
Definition: liblwgeom.h:547

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: