Definition at line 50 of file lwgeom_geos_node.c.
51{
52 int i, n;
54
56 {
58 for ( i = 0,
60 i < n; ++i )
61 {
64 col);
65 }
66 break;
73 break;
74 default:
75 lwerror(
"lwgeom_collect_endpoints: invalid type %s",
77 break;
78 }
79}
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
LWPOINT * lwline_get_lwpoint(const LWLINE *line, uint32_t where)
Returns freshly allocated LWPOINT that corresponds to the index where.
LWMPOINT * lwmpoint_add_lwpoint(LWMPOINT *mobj, const LWPOINT *obj)
static const LWGEOM * lwgeom_subgeom(const LWGEOM *g, int n)
static int lwgeom_ngeoms(const LWGEOM *n)
static void lwgeom_collect_endpoints(const LWGEOM *lwg, LWMPOINT *col)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
References LINETYPE, lwerror(), lwgeom_collect_endpoints(), lwgeom_ngeoms(), lwgeom_subgeom(), lwline_get_lwpoint(), lwmpoint_add_lwpoint(), lwtype_name(), MULTILINETYPE, POINTARRAY::npoints, LWLINE::points, and LWGEOM::type.
Referenced by lwgeom_collect_endpoints(), and lwgeom_extract_endpoints().