PostGIS  2.2.7dev-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  * Wrapper around SFCGAL for 3D functions
7  *
8  * Copyright 2012-2013 Oslandia <infos@oslandia.com>
9  *
10  * This is free software; you can redistribute and/or modify it under
11  * the terms of the GNU General Public Licence. See the COPYING file.
12  *
13  **********************************************************************/
14 
15 
16 #include "liblwgeom_internal.h"
17 #include <SFCGAL/capi/sfcgal_c.h>
18 
19 
20 /* return SFCGAL version string */
21 const char*
23 
24 /* Convert SFCGAL structure to lwgeom PostGIS */
25 LWGEOM*
26 SFCGAL2LWGEOM(const sfcgal_geometry_t* geom, int force3D, int SRID);
27 
28 /* Convert lwgeom PostGIS to SFCGAL structure */
29 sfcgal_geometry_t*
30 LWGEOM2SFCGAL(const LWGEOM* geom);
31 
32 /* No Operation SFCGAL function, used (only) for cunit tests
33  * Take a PostGIS geometry, send it to SFCGAL and return it unchanged
34  */
35 LWGEOM*
36 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)