PostGIS  2.1.10dev-r@@SVN_REVISION@@
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:464
void ptarray_reverse(POINTARRAY *pa)
Definition: ptarray.c:328
Definition: liblwgeom.h:378

Here is the call graph for this function:

Here is the caller graph for this function: