PostGIS
2.5.7dev-r@@SVN_REVISION@@
◆
lwgeom_as_lwtin()
LWTIN
* lwgeom_as_lwtin
(
const
LWGEOM
*
lwgeom
)
Definition at line
268
of file
lwgeom.c
.
269
{
270
if
( lwgeom->
type
==
TINTYPE
)
271
return
(
LWTIN
*)lwgeom;
272
else
return
NULL;
273
}
TINTYPE
#define TINTYPE
Definition:
liblwgeom.h:99
LWGEOM::type
uint8_t type
Definition:
liblwgeom.h:399
LWTIN
Definition:
liblwgeom.h:583
References
TINTYPE
, and
LWGEOM::type
.
liblwgeom
lwgeom.c
Generated by
1.9.1