mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 17:12:35 +00:00
a3cbbf11d3
git-svn-id: http://svn.osgeo.org/postgis/trunk@12704 b70326c6-7e19-0410-871a-916f4a2858ee
37 lines
1 KiB
C
37 lines
1 KiB
C
/**********************************************************************
|
|
*
|
|
* PostGIS - Spatial Types for PostgreSQL
|
|
* http://postgis.net
|
|
*
|
|
* Wrapper around SFCGAL for 3D functions
|
|
*
|
|
* Copyright 2012-2013 Oslandia <infos@oslandia.com>
|
|
*
|
|
* This is free software; you can redistribute and/or modify it under
|
|
* the terms of the GNU General Public Licence. See the COPYING file.
|
|
*
|
|
**********************************************************************/
|
|
|
|
|
|
#include "liblwgeom_internal.h"
|
|
#include <SFCGAL/capi/sfcgal_c.h>
|
|
|
|
|
|
/* return SFCGAL version string */
|
|
const char*
|
|
lwgeom_sfcgal_version(void);
|
|
|
|
/* Convert SFCGAL structure to lwgeom PostGIS */
|
|
LWGEOM*
|
|
SFCGAL2LWGEOM(const sfcgal_geometry_t* geom, int force3D, int SRID);
|
|
|
|
/* Convert lwgeom PostGIS to SFCGAL structure */
|
|
sfcgal_geometry_t*
|
|
LWGEOM2SFCGAL(const LWGEOM* geom);
|
|
|
|
/* No Operation SFCGAL function, used (only) for cunit tests
|
|
* Take a PostGIS geometry, send it to SFCGAL and return it unchanged
|
|
*/
|
|
LWGEOM*
|
|
lwgeom_sfcgal_noop(const LWGEOM* geom_in);
|