PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ lwpoly_is_empty()

static int lwpoly_is_empty ( const LWPOLY poly)
inlinestatic

Definition at line 171 of file lwinline.h.

172 {
173  return poly->nrings < 1 || !poly->rings || !poly->rings[0] || poly->rings[0]->npoints < 1;
174 }
POINTARRAY ** rings
Definition: liblwgeom.h:519
uint32_t nrings
Definition: liblwgeom.h:524
uint32_t npoints
Definition: liblwgeom.h:427

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

Referenced by lwgeom_is_empty().

Here is the caller graph for this function: