PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ lwgeom_as_lwcurvepoly()

LWCURVEPOLY * lwgeom_as_lwcurvepoly ( const LWGEOM lwgeom)
extern

Definition at line 234 of file lwgeom.c.

235{
236 if ( lwgeom == NULL ) return NULL;
237 if ( lwgeom->type == CURVEPOLYTYPE )
238 return (LWCURVEPOLY *)lwgeom;
239 else return NULL;
240}
#define CURVEPOLYTYPE
Definition liblwgeom.h:111
uint8_t type
Definition liblwgeom.h:462

References CURVEPOLYTYPE, and LWGEOM::type.

Referenced by LWGEOM_exteriorring_polygon(), LWGEOM_interiorringn_polygon(), LWGEOM_numinteriorrings_polygon(), and wkt_parser_curvepolygon_add_ring().

Here is the caller graph for this function: