PostGIS  2.5.0beta2dev-r@@SVN_REVISION@@

◆ lwgeom_reverse()

LWGEOM* lwgeom_reverse ( const LWGEOM lwgeom)

Definition at line 93 of file lwgeom.c.

References lwgeom_clone_deep(), and lwgeom_reverse_in_place().

94 {
95  LWGEOM *geomout = lwgeom_clone_deep(geom);
96  lwgeom_reverse_in_place(geomout);
97  return geomout;
98 }
void lwgeom_reverse_in_place(LWGEOM *geom)
Reverse vertex order of LWGEOM.
Definition: lwgeom.c:102
LWGEOM * lwgeom_clone_deep(const LWGEOM *lwgeom)
Deep-clone an LWGEOM object.
Definition: lwgeom.c:520
Here is the call graph for this function: