Definition at line 54 of file lwgeom_geos_node.c.
55{
56 int i, n;
58
60 {
62 for ( i = 0,
64 i < n; ++i )
65 {
68 col);
69 }
70 break;
77 break;
78 default:
79 lwerror(
"lwgeom_collect_endpoints: invalid type %s",
81 break;
82 }
83}
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 void lwerror(const char *fmt,...) __attribute__((format(printf
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().