PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
int lwgeom_count_rings | ( | const LWGEOM * | geom | ) |
Count rings in an LWGEOM.
Count the total number of rings in any LWGEOM.
Definition at line 1298 of file lwgeom.c.
References CIRCSTRINGTYPE, COLLECTIONTYPE, COMPOUNDTYPE, CURVEPOLYTYPE, LWCOLLECTION::geoms, LINETYPE, LWDEBUGF, lwerror(), lwgeom_is_empty(), lwtype_name(), MULTICURVETYPE, MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, MULTISURFACETYPE, LWCOLLECTION::ngeoms, POINTTYPE, POLYGONTYPE, POLYHEDRALSURFACETYPE, TINTYPE, TRIANGLETYPE, and LWGEOM::type.
Referenced by LWGEOM_nrings().