Definition at line 1602 of file lwgeom.c.
References COLLECTIONTYPE, LINETYPE, lwcollection_simplify(), lwerror(), lwgeom_clone(), lwline_simplify(), lwpoly_simplify(), lwtype_name(), MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, POINTTYPE, POLYGONTYPE, LWGEOM::type, and LWCOLLECTION::type.
Referenced by lwcollection_simplify(), LWGEOM_simplify2d(), test_lwgeom_simplify(), and test_misc_simplify().
1604 switch (igeom->
type)
LWPOLY * lwpoly_simplify(const LWPOLY *ipoly, double dist, int preserve_collapsed)
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
LWCOLLECTION * lwcollection_simplify(const LWCOLLECTION *igeom, double dist, int preserve_collapsed)
LWGEOM * lwgeom_clone(const LWGEOM *lwgeom)
Clone LWGEOM object.
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
LWLINE * lwline_simplify(const LWLINE *iline, double dist, int preserve_collapsed)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.