PostGIS
2.5.7dev-r@@SVN_REVISION@@
◆
lwgeom_as_lwpsurface()
LWPSURFACE
* lwgeom_as_lwpsurface
(
const
LWGEOM
*
lwgeom
)
Definition at line
260
of file
lwgeom.c
.
261
{
262
if
( lwgeom->
type
==
POLYHEDRALSURFACETYPE
)
263
return
(
LWPSURFACE
*)lwgeom;
264
else
return
NULL;
265
}
POLYHEDRALSURFACETYPE
#define POLYHEDRALSURFACETYPE
Definition:
liblwgeom.h:97
LWGEOM::type
uint8_t type
Definition:
liblwgeom.h:399
LWPSURFACE
Definition:
liblwgeom.h:570
References
POLYHEDRALSURFACETYPE
, and
LWGEOM::type
.
liblwgeom
liblwgeom.h
Generated by
1.9.1