Definition at line 2083 of file lwgeom.c.
2084{
2086 uint32_t i;
2087
2088 switch(type)
2089 {
2090
2095 {
2098 break;
2099 }
2101 {
2103 for( i = 0; i < p->
nrings; i++ )
2105 break;
2106 }
2108 {
2110 for( i = 0; i < c->
nrings; i++ )
2112 break;
2113 }
2114 default:
2115 {
2117 {
2119 for( i = 0; i < c->
ngeoms; i++ )
2120 {
2122 }
2123 }
2124 else
2125 {
2127 }
2128 }
2129 }
2130
2131
2134}
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().