PostGIS  2.4.9dev-r@@SVN_REVISION@@
liblwgeom/lwgeom_sfcgal.h
Go to the documentation of this file.
1 /**********************************************************************
2  *
3  * PostGIS - Spatial Types for PostgreSQL
4  * http://postgis.net
5  *
6  * PostGIS is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * PostGIS is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with PostGIS. If not, see <http://www.gnu.org/licenses/>.
18  *
19  **********************************************************************
20  *
21  * Copyright 2012-2013 Oslandia <infos@oslandia.com>
22  *
23  **********************************************************************/
24 
25 
26 
27 #include "liblwgeom_internal.h"
28 #include <SFCGAL/capi/sfcgal_c.h>
29 
30 
31 /* return SFCGAL version string */
32 const char*
34 
35 /* Convert SFCGAL structure to lwgeom PostGIS */
36 LWGEOM*
37 SFCGAL2LWGEOM(const sfcgal_geometry_t* geom, int force3D, int SRID);
38 
39 /* Convert lwgeom PostGIS to SFCGAL structure */
40 sfcgal_geometry_t*
41 LWGEOM2SFCGAL(const LWGEOM* geom);
42 
43 /* No Operation SFCGAL function, used (only) for cunit tests
44  * Take a PostGIS geometry, send it to SFCGAL and return it unchanged
45  */
46 LWGEOM*
47 lwgeom_sfcgal_noop(const LWGEOM* geom_in);
LWGEOM * lwgeom_sfcgal_noop(const LWGEOM *geom_in)
LWGEOM * SFCGAL2LWGEOM(const sfcgal_geometry_t *geom, int force3D, int SRID)
sfcgal_geometry_t * LWGEOM2SFCGAL(const LWGEOM *geom)
const char * lwgeom_sfcgal_version(void)