PostGIS  2.2.7dev-r@@SVN_REVISION@@
Datum LWGEOM_has_arc ( PG_FUNCTION_ARGS  )

Definition at line 37 of file lwgeom_sqlmm.c.

References lwgeom_free(), lwgeom_from_gserialized(), and lwgeom_has_arc().

38 {
39  GSERIALIZED *geom = PG_GETARG_GSERIALIZED_P(0);
40  LWGEOM *lwgeom = lwgeom_from_gserialized(geom);
41  uint32 result = lwgeom_has_arc(lwgeom);
42  lwgeom_free(lwgeom);
43  PG_RETURN_BOOL(result == 1);
44 }
LWGEOM * lwgeom_from_gserialized(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
void lwgeom_free(LWGEOM *geom)
Definition: lwgeom.c:1050
int lwgeom_has_arc(const LWGEOM *geom)
Definition: lwstroke.c:41

Here is the call graph for this function: