PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ lwline_reverse()

void lwline_reverse ( LWLINE line)

Definition at line 140 of file lwline.c.

References lwline_is_empty(), LWLINE::points, and ptarray_reverse().

Referenced by lwgeom_reverse().

141 {
142  if ( lwline_is_empty(line) ) return;
143  ptarray_reverse(line->points);
144 }
int lwline_is_empty(const LWLINE *line)
Definition: lwline.c:525
void ptarray_reverse(POINTARRAY *pa)
Definition: ptarray.c:343
POINTARRAY * points
Definition: liblwgeom.h:422
Here is the call graph for this function:
Here is the caller graph for this function: