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