PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ lwline_count_vertices()

uint32_t lwline_count_vertices ( LWLINE line)

Definition at line 502 of file lwline.c.

503{
504 assert(line);
505 if ( ! line->points )
506 return 0;
507 return line->points->npoints;
508}
POINTARRAY * points
Definition liblwgeom.h:469
uint32_t npoints
Definition liblwgeom.h:413

References POINTARRAY::npoints, and LWLINE::points.

Referenced by lwgeom_count_vertices().

Here is the caller graph for this function: