56 if ( ! mpoly )
return;
60 for ( i = 0; i < mpoly->
ngeoms; i++ )
LWCOLLECTION * lwcollection_construct_empty(uint8_t type, int srid, char hasz, char hasm)
LWGEOM * lwmpoly_as_lwgeom(const LWMPOLY *obj)
LWCOLLECTION * lwcollection_add_lwgeom(LWCOLLECTION *col, const LWGEOM *geom)
Appends geom to the collection managed by col.
void lwpoly_free(LWPOLY *poly)
void lwgeom_release(LWGEOM *lwgeom)
Free the containing LWGEOM and the associated BOX.
void lwmpoly_release(LWMPOLY *lwmpoly)
LWMPOLY * lwmpoly_construct_empty(int srid, char hasz, char hasm)
void lwmpoly_free(LWMPOLY *mpoly)
LWMPOLY * lwmpoly_add_lwpoly(LWMPOLY *mobj, const LWPOLY *obj)