Return true or false depending on whether a geometry is a linear feature that closes on itself.
Definition at line 1041 of file lwgeom.c.
1071 for ( i = 0; i < col->
ngeoms; i++ )
#define POLYHEDRALSURFACETYPE
#define LW_TRUE
Return types for functions with status returns.
int lwcircstring_is_closed(const LWCIRCSTRING *curve)
int lwline_is_closed(const LWLINE *line)
int lwcompound_is_closed(const LWCOMPOUND *curve)
int lwpsurface_is_closed(const LWPSURFACE *psurface)
int lwtin_is_closed(const LWTIN *tin)
int lwpoly_is_closed(const LWPOLY *poly)
int lwgeom_is_closed(const LWGEOM *geom)
Return true or false depending on whether a geometry is a linear feature that closes on itself.
int lwgeom_is_collection(const LWGEOM *geom)
Determine whether a LWGEOM can contain sub-geometries or not.
int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members)
LWCOLLECTION * lwgeom_as_lwcollection(const LWGEOM *lwgeom)
References CIRCSTRINGTYPE, COMPOUNDTYPE, LWCOLLECTION::geoms, LINETYPE, LW_FALSE, LW_TRUE, lwcircstring_is_closed(), lwcompound_is_closed(), lwgeom_as_lwcollection(), lwgeom_is_closed(), lwgeom_is_collection(), lwgeom_is_empty(), lwline_is_closed(), lwpoly_is_closed(), lwpsurface_is_closed(), lwtin_is_closed(), LWCOLLECTION::ngeoms, POLYGONTYPE, POLYHEDRALSURFACETYPE, TINTYPE, LWGEOM::type, and ovdump::type.
Referenced by lwgeom_dimensionality(), lwgeom_is_closed(), and LWGEOM_isclosed().