PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ lwline_reverse()

void lwline_reverse ( LWLINE line)

Definition at line 127 of file lwline.c.

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

Referenced by lwgeom_reverse().

128 {
129  if ( lwline_is_empty(line) ) return;
130  ptarray_reverse(line->points);
131 }
int lwline_is_empty(const LWLINE *line)
Definition: lwline.c:496
void ptarray_reverse(POINTARRAY *pa)
Definition: ptarray.c:343
Definition: liblwgeom.h:406
Here is the call graph for this function:
Here is the caller graph for this function: