PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ lwpoly_is_empty()

static int lwpoly_is_empty ( const LWPOLY poly)
inlinestatic

Definition at line 161 of file lwinline.h.

162 {
163  return poly->nrings < 1 || !poly->rings || !poly->rings[0] || poly->rings[0]->npoints < 1;
164 }
POINTARRAY ** rings
Definition: liblwgeom.h:505
uint32_t nrings
Definition: liblwgeom.h:510
uint32_t npoints
Definition: liblwgeom.h:413

References POINTARRAY::npoints, LWPOLY::nrings, and LWPOLY::rings.

Referenced by lwgeom_is_empty().

Here is the caller graph for this function: