PostGIS  2.1.10dev-r@@SVN_REVISION@@
liblwgeom/lwgeom_geos.c File Reference
#include "lwgeom_geos.h"
#include "liblwgeom.h"
#include "liblwgeom_internal.h"
#include "lwgeom_log.h"
#include <stdlib.h>
Include dependency graph for liblwgeom/lwgeom_geos.c:

Go to the source code of this file.

Data Structures

struct  Face_t




typedef struct Face_t Face


LWTINlwtin_from_geos (const GEOSGeometry *geom, int want3d)
void lwgeom_geos_error (const char *fmt,...)
POINTARRAYptarray_from_GEOSCoordSeq (const GEOSCoordSequence *cs, char want3d)
LWGEOMGEOS2LWGEOM (const GEOSGeometry *geom, char want3d)
GEOSCoordSeq ptarray_to_GEOSCoordSeq (const POINTARRAY *)
GEOSGeometry * LWGEOM2GEOS (const LWGEOM *lwgeom)
const char * lwgeom_geos_version ()
 Return GEOS version string (not to be freed) More...
LWGEOMlwgeom_normalize (const LWGEOM *geom1)
LWGEOMlwgeom_intersection (const LWGEOM *geom1, const LWGEOM *geom2)
LWGEOMlwgeom_difference (const LWGEOM *geom1, const LWGEOM *geom2)
LWGEOMlwgeom_symdifference (const LWGEOM *geom1, const LWGEOM *geom2)
LWGEOMlwgeom_union (const LWGEOM *geom1, const LWGEOM *geom2)
static FacenewFace (const GEOSGeometry *g)
static void delFace (Face *f)
static unsigned int countParens (const Face *f)
static void findFaceHoles (Face **faces, int nfaces)
static int compare_by_envarea (const void *g1, const void *g2)
static GEOSGeometry * collectFacesWithEvenAncestors (Face **faces, int nfaces)
GEOSGeometry * LWGEOM_GEOS_buildArea (const GEOSGeometry *geom_in)
LWGEOMlwgeom_buildarea (const LWGEOM *geom)
 Take a geometry and return an areal geometry (Polygon or MultiPolygon). More...
LWGEOMlwgeom_geos_noop (const LWGEOM *geom_in)
 Convert an LWGEOM to a GEOS Geometry and convert back – for debug only. More...
LWGEOMlwgeom_snap (const LWGEOM *geom1, const LWGEOM *geom2, double tolerance)
 Snap vertices and segments of a geometry to another using a given tolerance. More...
LWGEOMlwgeom_sharedpaths (const LWGEOM *geom1, const LWGEOM *geom2)
LWGEOMlwgeom_offsetcurve (const LWLINE *lwline, double size, int quadsegs, int joinStyle, double mitreLimit)
LWGEOMlwgeom_delaunay_triangulation (const LWGEOM *lwgeom_in, double tolerance, int output)
 Take vertices of a geometry and build a delaunay triangulation on them. More...


char lwgeom_geos_errmsg [LWGEOM_GEOS_ERRMSG_MAXSIZE]