Remove repeated points!
Definition at line 1456 of file lwgeom.c.
References CIRCSTRINGTYPE, COLLECTIONTYPE, COMPOUNDTYPE, CURVEPOLYTYPE, LINETYPE, lwcollection_remove_repeated_points(), LWDEBUGF, lwgeom_clone_deep(), lwgeom_is_empty(), lwline_remove_repeated_points(), lwmpoint_remove_repeated_points(), lwnotice(), lwpoly_remove_repeated_points(), lwtype_name(), MULTICURVETYPE, MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, MULTISURFACETYPE, POINTTYPE, POLYGONTYPE, POLYHEDRALSURFACETYPE, TINTYPE, TRIANGLETYPE, LWGEOM::type, and LWPOLY::type.
Referenced by _lwt_AddEdge(), _lwt_FindAdjacentEdges(), _lwt_toposnap(), lwcollection_remove_repeated_points(), and ST_RemoveRepeatedPoints().
1458 LWDEBUGF(4,
"lwgeom_remove_repeated_points got type %s",
1499 lwnotice(
"%s: unsupported geometry type: %s",
void lwnotice(const char *fmt,...)
Write a notice out to the notice handler.
LWGEOM * lwmpoint_remove_repeated_points(const LWMPOINT *in, double tolerance)
#define POLYHEDRALSURFACETYPE
LWGEOM * lwcollection_remove_repeated_points(const LWCOLLECTION *in, double tolerance)
LWGEOM * lwgeom_clone_deep(const LWGEOM *lwgeom)
Deep-clone an LWGEOM object.
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members) ...
LWGEOM * lwline_remove_repeated_points(const LWLINE *in, double tolerance)
LWGEOM * lwpoly_remove_repeated_points(const LWPOLY *in, double tolerance)
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
#define LWDEBUGF(level, msg,...)