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

◆ lwcompound_num_curves()

uint32_t lwcompound_num_curves ( const LWCOMPOUND compound)
extern

Definition at line 34 of file lwcompound.c.

35{
36 if ( compound->type != COMPOUNDTYPE )
37 lwerror("%s only supports compound curves", __func__);
38 return compound->ngeoms;
39}
#define COMPOUNDTYPE
Definition liblwgeom.h:110
void void lwerror(const char *fmt,...) __attribute__((format(printf
Write a notice out to the error handler.
uint32_t ngeoms
Definition liblwgeom.h:594
uint8_t type
Definition liblwgeom.h:592

References COMPOUNDTYPE, lwerror(), LWCOMPOUND::ngeoms, and LWCOMPOUND::type.

Referenced by ST_NumCurves().

Here is the call graph for this function:
Here is the caller graph for this function: