PostGIS  2.1.10dev-r@@SVN_REVISION@@
void lwtriangle_reverse ( LWTRIANGLE triangle)

Definition at line 100 of file lwtriangle.c.

References lwtriangle_is_empty(), LWTRIANGLE::points, and ptarray_reverse().

Referenced by lwgeom_reverse().

101 {
102  if( lwtriangle_is_empty(triangle) ) return;
103  ptarray_reverse(triangle->points);
104 }
int lwtriangle_is_empty(const LWTRIANGLE *triangle)
Definition: lwtriangle.c:162
Definition: liblwgeom.h:389
void ptarray_reverse(POINTARRAY *pa)
Definition: ptarray.c:328

Here is the call graph for this function:

Here is the caller graph for this function: