PostGIS
3.0.6dev-r@@SVN_REVISION@@
◆
lwgeom_sfcgal_noop()
LWGEOM
* lwgeom_sfcgal_noop
(
const
LWGEOM
*
geom_in
)
Definition at line
579
of file
liblwgeom/lwgeom_sfcgal.c
.
580
{
581
sfcgal_geometry_t *converted;
582
583
assert(geom_in);
584
585
converted =
LWGEOM2SFCGAL
(geom_in);
586
assert(converted);
587
588
LWGEOM
*geom_out =
SFCGAL2LWGEOM
(converted, 0,
SRID_UNKNOWN
);
589
sfcgal_geometry_delete(converted);
590
591
/* copy SRID (SFCGAL does not store the SRID) */
592
geom_out->
srid
= geom_in->
srid
;
593
return
geom_out;
594
}
LWGEOM2SFCGAL
sfcgal_geometry_t * LWGEOM2SFCGAL(const LWGEOM *geom)
Definition:
liblwgeom/lwgeom_sfcgal.c:449
SFCGAL2LWGEOM
LWGEOM * SFCGAL2LWGEOM(const sfcgal_geometry_t *geom, int force3D, int32_t srid)
Definition:
liblwgeom/lwgeom_sfcgal.c:278
SRID_UNKNOWN
#define SRID_UNKNOWN
Unknown SRID value.
Definition:
liblwgeom.h:229
LWGEOM::srid
int32_t srid
Definition:
liblwgeom.h:446
LWGEOM
Definition:
liblwgeom.h:443
liblwgeom
lwgeom_sfcgal.h
Generated by
1.9.1