PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ lwtriangle_is_empty()

static int lwtriangle_is_empty ( const LWTRIANGLE triangle)
inlinestatic

Definition at line 167 of file lwinline.h.

168 {
169  return !triangle->points || triangle->points->npoints < 1;
170 }
POINTARRAY * points
Definition: liblwgeom.h:481
uint32_t npoints
Definition: liblwgeom.h:413

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

Referenced by lwgeom_is_empty().

Here is the caller graph for this function: