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