PostGIS
3.4.0dev-r@@SVN_REVISION@@
|
LWGEOM* lwgeom_simplify_polygonal | ( | const LWGEOM * | geom, |
double | vertex_fraction, | ||
uint32_t | is_outer | ||
) |
Computes a boundary-respecting hull of a polygonal geometry, with hull shape determined by a target parameter specifying the fraction of the input vertices retained in the result.
Larger values produce less concave results.
geom | the input geometry |
vertex_fraction | proportion of vertices in output vs input. |
is_outer | expand geometry while removing edges. |
Definition at line 2185 of file liblwgeom/lwgeom_geos.c.
References AUTOFIX, LWGEOM::flags, FLAGS_GET_Z, GEOS2LWGEOM(), GEOS_FAIL, GEOS_FREE, GEOS_FREE_AND_FAIL, LWGEOM2GEOS(), lwgeom_geos_error(), lwnotice(), result, and RESULT_SRID.
Referenced by ST_SimplifyPolygonHull().