PostGIS
2.4.9dev-r@@SVN_REVISION@@
◆
lwgeom_as_lwpsurface()
LWPSURFACE
* lwgeom_as_lwpsurface
(
const
LWGEOM
*
lwgeom
)
Definition at line
228
of file
lwgeom.c
.
References
POLYHEDRALSURFACETYPE
, and
LWGEOM::type
.
229
{
230
if
( lwgeom->
type
==
POLYHEDRALSURFACETYPE
)
231
return
(
LWPSURFACE
*)lwgeom;
232
else
return
NULL;
233
}
LWPSURFACE
Definition:
liblwgeom.h:566
POLYHEDRALSURFACETYPE
#define POLYHEDRALSURFACETYPE
Definition:
liblwgeom.h:97
LWGEOM::type
uint8_t type
Definition:
liblwgeom.h:396
liblwgeom
lwgeom.c
Generated by
1.8.13