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

◆ lwline_count_vertices()

uint32_t lwline_count_vertices ( const LWLINE line)

Definition at line 505 of file lwline.c.

506{
507 assert(line);
508 if ( ! line->points )
509 return 0;
510 return line->points->npoints;
511}
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: