PostGIS
2.4.9dev-r@@SVN_REVISION@@
◆
lwgeom_as_lwtin()
LWTIN
* lwgeom_as_lwtin
(
const
LWGEOM
*
lwgeom
)
Definition at line
236
of file
lwgeom.c
.
References
TINTYPE
, and
LWGEOM::type
.
237
{
238
if
( lwgeom->
type
==
TINTYPE
)
239
return
(
LWTIN
*)lwgeom;
240
else
return
NULL;
241
}
TINTYPE
#define TINTYPE
Definition:
liblwgeom.h:99
LWTIN
Definition:
liblwgeom.h:579
LWGEOM::type
uint8_t type
Definition:
liblwgeom.h:396
liblwgeom
liblwgeom.h
Generated by
1.8.13