PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ lwtriangle_reverse()

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:417
void ptarray_reverse(POINTARRAY *pa)
Definition: ptarray.c:343
Here is the call graph for this function:
Here is the caller graph for this function: