Definition at line 1735 of file lwgeom.c.
References CIRCSTRINGTYPE, CURVEPOLYTYPE, LWCOLLECTION::geoms, LINETYPE, lwerror(), lwgeom_is_collection(), lwtype_name(), LWCOLLECTION::ngeoms, LWPOLY::nrings, LWCURVEPOLY::nrings, LWLINE::points, POINTTYPE, POLYGONTYPE, ptarray_affine(), LWPOLY::rings, LWCURVEPOLY::rings, TRIANGLETYPE, ovdump::type, and LWGEOM::type.
Referenced by LWGEOM_affine(), lwgeom_split_wrapx(), and mvt_geom().
1755 for( i = 0; i < p->
nrings; i++ )
1762 for( i = 0; i < c->
nrings; i++ )
1771 for( i = 0; i < c->
ngeoms; i++ )
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
void lwgeom_affine(LWGEOM *geom, const AFFINE *affine)
int lwgeom_is_collection(const LWGEOM *geom)
Determine whether a LWGEOM can contain sub-geometries or not.
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
void ptarray_affine(POINTARRAY *pa, const AFFINE *affine)
Affine transform a pointarray.