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