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

◆ lwgeom_as_lwpsurface()

LWPSURFACE * lwgeom_as_lwpsurface ( const LWGEOM lwgeom)
extern

Definition at line 251 of file lwgeom.c.

252{
253 if ( lwgeom->type == POLYHEDRALSURFACETYPE )
254 return (LWPSURFACE *)lwgeom;
255 else return NULL;
256}
#define POLYHEDRALSURFACETYPE
Definition liblwgeom.h:128
uint8_t type
Definition liblwgeom.h:448

References POLYHEDRALSURFACETYPE, and LWGEOM::type.