Definition at line 2111 of file lwgeom.c.
2112{
2114 uint32_t i;
2115
2116 switch(type)
2117 {
2118
2123 {
2126 break;
2127 }
2129 {
2131 for( i = 0; i < p->
nrings; i++ )
2133 break;
2134 }
2136 {
2138 for( i = 0; i < c->
nrings; i++ )
2140 break;
2141 }
2142 default:
2143 {
2145 {
2147 for( i = 0; i < c->
ngeoms; i++ )
2148 {
2150 }
2151 }
2152 else
2153 {
2155 }
2156 }
2157 }
2158
2159
2162}
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
void ptarray_affine(POINTARRAY *pa, const AFFINE *affine)
Affine transform a pointarray.
void lwgeom_refresh_bbox(LWGEOM *lwgeom)
Drop current bbox and calculate a fresh one.
int lwgeom_is_collection(const LWGEOM *geom)
Determine whether a LWGEOM contains sub-geometries or not This basically just checks that the struct ...
void lwgeom_affine(LWGEOM *geom, const AFFINE *affine)
void void lwerror(const char *fmt,...) __attribute__((format(printf
Write a notice out to the error handler.
References LWGEOM::bbox, CIRCSTRINGTYPE, CURVEPOLYTYPE, LWCOLLECTION::geoms, LINETYPE, lwerror(), lwgeom_affine(), lwgeom_is_collection(), lwgeom_refresh_bbox(), lwtype_name(), LWCOLLECTION::ngeoms, LWPOLY::nrings, LWCURVEPOLY::nrings, LWLINE::points, POINTTYPE, POLYGONTYPE, ptarray_affine(), LWPOLY::rings, LWCURVEPOLY::rings, TRIANGLETYPE, and LWGEOM::type.
Referenced by lwgeom_affine(), LWGEOM_affine(), lwgeom_solid_contains_lwgeom(), lwgeom_split_wrapx(), mvt_geom(), and ST_Scale().