PostGIS  2.5.0dev-r@@SVN_REVISION@@
LWGEOM* lwgeom_reverse ( const LWGEOM geom)

Definition at line 92 of file lwgeom.c.

References lwgeom_clone_deep(), and lwgeom_reverse_in_place().

93 {
94  LWGEOM *geomout = lwgeom_clone_deep(geom);
95  lwgeom_reverse_in_place(geomout);
96  return geomout;
97 }
void lwgeom_reverse_in_place(LWGEOM *geom)
Reverse vertex order of LWGEOM.
Definition: lwgeom.c:101
LWGEOM * lwgeom_clone_deep(const LWGEOM *lwgeom)
Deep-clone an LWGEOM object.
Definition: lwgeom.c:513

Here is the call graph for this function: