PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ ST_NumCurves()

Datum ST_NumCurves ( PG_FUNCTION_ARGS  )

Definition at line 152 of file lwgeom_sqlmm.c.

153{
154 GSERIALIZED *geom = PG_GETARG_GSERIALIZED_P(0);
156 if (!lwcmp)
157 PG_RETURN_NULL();
158
159 PG_RETURN_INT32(lwcompound_num_curves(lwcmp));
160}
LWGEOM * lwgeom_from_gserialized(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
uint32_t lwcompound_num_curves(const LWCOMPOUND *compound)
Definition lwcompound.c:34
LWCOMPOUND * lwgeom_as_lwcompound(const LWGEOM *lwgeom)
Definition lwgeom.c:225

References lwcompound_num_curves(), lwgeom_as_lwcompound(), and lwgeom_from_gserialized().

Here is the call graph for this function: