PostGIS
2.4.9dev-r@@SVN_REVISION@@
◆
lwgeom_sfcgal_noop()
LWGEOM
* lwgeom_sfcgal_noop
(
const
LWGEOM
*
geom_in
)
Definition at line
567
of file
liblwgeom/lwgeom_sfcgal.c
.
Referenced by
test_sfcgal_noop()
.
568
{
569
sfcgal_geometry_t* converted;
570
571
assert(geom_in);
572
573
converted =
LWGEOM2SFCGAL
(geom_in);
574
assert(converted);
575
576
LWGEOM
* geom_out =
SFCGAL2LWGEOM
(converted, 0,
SRID_UNKNOWN
);
577
sfcgal_geometry_delete(converted);
578
579
/* copy SRID (SFCGAL does not store the SRID) */
580
geom_out->
srid
= geom_in->
srid
;
581
return
geom_out;
582
}
LWGEOM
Definition:
liblwgeom.h:394
LWGEOM::srid
int32_t srid
Definition:
liblwgeom.h:399
LWGEOM2SFCGAL
sfcgal_geometry_t * LWGEOM2SFCGAL(const LWGEOM *geom)
Definition:
liblwgeom/lwgeom_sfcgal.c:445
SRID_UNKNOWN
#define SRID_UNKNOWN
Unknown SRID value.
Definition:
liblwgeom.h:188
SFCGAL2LWGEOM
LWGEOM * SFCGAL2LWGEOM(const sfcgal_geometry_t *geom, int force3D, int srid)
Definition:
liblwgeom/lwgeom_sfcgal.c:278
Here is the caller graph for this function:
liblwgeom
cunit
cu_sfcgal.c
Generated by
1.8.13