Definition at line 2249 of file lwgeom.c.
2250{
2253
2254 switch( lwgeom->
type )
2255 {
2273 default:
2276 }
2277}
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
#define POLYHEDRALSURFACETYPE
int lwpoly_startpoint(const LWPOLY *lwpoly, POINT4D *pt)
int lwcollection_startpoint(const LWCOLLECTION *col, POINT4D *pt)
int ptarray_startpoint(const POINTARRAY *pa, POINT4D *pt)
void void lwerror(const char *fmt,...) __attribute__((format(printf
Write a notice out to the error handler.
static int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members)
References CIRCSTRINGTYPE, COLLECTIONTYPE, COMPOUNDTYPE, CURVEPOLYTYPE, LINETYPE, LW_FAILURE, lwcollection_startpoint(), lwerror(), lwgeom_is_empty(), lwpoly_startpoint(), lwtype_name(), MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, POINTTYPE, POLYGONTYPE, POLYHEDRALSURFACETYPE, ptarray_startpoint(), TINTYPE, TRIANGLETYPE, LWGEOM::type, and LWPOINT::type.
Referenced by geography_distance_cache_tolerance(), geography_tree_distance(), lwcollection_startpoint(), lwgeom_solid_contains_lwgeom(), LWGEOM_startpoint_linestring(), and test_misc_startpoint().