PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lwgeom_reverse()

LWGEOM* lwgeom_reverse ( const LWGEOM lwgeom)

Definition at line 93 of file lwgeom.c.

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

References lwgeom_clone_deep(), and lwgeom_reverse_in_place().

Here is the call graph for this function: