PostGIS
3.0.6dev-r@@SVN_REVISION@@
◆
lwgeom_as_lwpsurface()
LWPSURFACE
* lwgeom_as_lwpsurface
(
const
LWGEOM
*
lwgeom
)
Definition at line
251
of file
lwgeom.c
.
252
{
253
if
( lwgeom->
type
==
POLYHEDRALSURFACETYPE
)
254
return
(
LWPSURFACE
*)lwgeom;
255
else
return
NULL;
256
}
POLYHEDRALSURFACETYPE
#define POLYHEDRALSURFACETYPE
Definition:
liblwgeom.h:128
LWGEOM::type
uint8_t type
Definition:
liblwgeom.h:448
LWPSURFACE
Definition:
liblwgeom.h:629
References
POLYHEDRALSURFACETYPE
, and
LWGEOM::type
.
liblwgeom
lwgeom.c
Generated by
1.9.1