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

◆ lwgeom_as_lwcurvepoly()

LWCURVEPOLY * lwgeom_as_lwcurvepoly ( const LWGEOM lwgeom)

Definition at line 206 of file lwgeom.c.

207{
208 if ( lwgeom == NULL ) return NULL;
209 if ( lwgeom->type == CURVEPOLYTYPE )
210 return (LWCURVEPOLY *)lwgeom;
211 else return NULL;
212}
#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: