PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ lwtriangle_is_empty()

static int lwtriangle_is_empty ( const LWTRIANGLE triangle)
inlinestatic

Definition at line 177 of file lwinline.h.

178 {
179  return !triangle->points || triangle->points->npoints < 1;
180 }
POINTARRAY * points
Definition: liblwgeom.h:495
uint32_t npoints
Definition: liblwgeom.h:427

References POINTARRAY::npoints, and LWTRIANGLE::points.

Referenced by lwgeom_is_empty().

Here is the caller graph for this function: