PostGIS  3.3.9dev-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:510
uint32_t npoints
Definition: liblwgeom.h:442

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

Referenced by lwgeom_is_empty().

Here is the caller graph for this function: