PostGIS
2.5.7dev-r@@SVN_REVISION@@
◆
lwgeom_sfcgal_noop()
LWGEOM
* lwgeom_sfcgal_noop
(
const
LWGEOM
*
geom_in
)
Definition at line
567
of file
liblwgeom/lwgeom_sfcgal.c
.
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
}
LWGEOM2SFCGAL
sfcgal_geometry_t * LWGEOM2SFCGAL(const LWGEOM *geom)
Definition:
liblwgeom/lwgeom_sfcgal.c:445
SFCGAL2LWGEOM
LWGEOM * SFCGAL2LWGEOM(const sfcgal_geometry_t *geom, int force3D, int srid)
Definition:
liblwgeom/lwgeom_sfcgal.c:278
SRID_UNKNOWN
#define SRID_UNKNOWN
Unknown SRID value.
Definition:
liblwgeom.h:188
LWGEOM::srid
int32_t srid
Definition:
liblwgeom.h:402
LWGEOM
Definition:
liblwgeom.h:398
liblwgeom
lwgeom_sfcgal.h
Generated by
1.9.1