PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ lwtriangle_is_empty()

static int lwtriangle_is_empty ( const LWTRIANGLE triangle)
inlinestatic

Definition at line 173 of file lwinline.h.

174 {
175  return !triangle->points || triangle->points->npoints < 1;
176 }
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: