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

◆ lwline_count_vertices()

uint32_t lwline_count_vertices ( const LWLINE line)

Definition at line 515 of file lwline.c.

516{
517 assert(line);
518 if ( ! line->points )
519 return 0;
520 return line->points->npoints;
521}
POINTARRAY * points
Definition liblwgeom.h:483
uint32_t npoints
Definition liblwgeom.h:427

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

Referenced by lwgeom_count_vertices(), and lwline_extend().

Here is the caller graph for this function: