Definition at line 2739 of file lwgeom_topo.c.
2744 int i, validedges = 0;
2746 for ( i=0; i<numfaceedges; ++i )
2760 if ( numfaceedges )
lwfree(geoms);
2761 LWDEBUG(1,
"_lwt_FaceByEdges returning empty polygon");
2778 LWDEBUGF(1,
"_lwt_FaceByEdges returning area: %s", wkt);
LWGEOM * lwline_as_lwgeom(const LWLINE *obj)
LWGEOM * lwcollection_as_lwgeom(const LWCOLLECTION *obj)
LWGEOM * lwpoly_as_lwgeom(const LWPOLY *obj)
LWGEOM * lwgeom_buildarea(const LWGEOM *geom)
Take a geometry and return an areal geometry (Polygon or MultiPolygon).
void lwcollection_release(LWCOLLECTION *lwcollection)
char * lwgeom_to_wkt(const LWGEOM *geom, uint8_t variant, int precision, size_t *size_out)
WKT emitter function.
LWCOLLECTION * lwcollection_construct(uint8_t type, int srid, GBOX *bbox, uint32_t ngeoms, LWGEOM **geoms)
void * lwalloc(size_t size)
LWPOLY * lwpoly_construct_empty(int srid, char hasz, char hasm)
#define LWDEBUG(level, msg)
#define LWDEBUGF(level, msg,...)
References LWT_TOPOLOGY_T::hasZ, lwalloc(), lwcollection_as_lwgeom(), lwcollection_construct(), lwcollection_release(), LWDEBUG, LWDEBUGF, lwfree(), lwgeom_buildarea(), lwgeom_to_wkt(), lwline_as_lwgeom(), lwpoly_as_lwgeom(), lwpoly_construct_empty(), MULTILINETYPE, LWT_TOPOLOGY_T::srid, and WKT_EXTENDED.
Referenced by lwt_GetFaceEdges(), and lwt_GetFaceGeometry().