PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ lwtriangle_reverse()

void lwtriangle_reverse ( LWTRIANGLE triangle)

Definition at line 113 of file lwtriangle.c.

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

Referenced by lwgeom_reverse().

114 {
115  if( lwtriangle_is_empty(triangle) ) return;
116  ptarray_reverse(triangle->points);
117 }
int lwtriangle_is_empty(const LWTRIANGLE *triangle)
Definition: lwtriangle.c:175
Definition: liblwgeom.h:432
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: