PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lwcircstring_is_empty()

int lwcircstring_is_empty ( const LWCIRCSTRING circ)

Definition at line 269 of file lwcircstring.c.

270 {
271  if ( !circ->points || circ->points->npoints < 1 )
272  return LW_TRUE;
273  return LW_FALSE;
274 }
#define LW_FALSE
Definition: liblwgeom.h:77
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:76
POINTARRAY * points
Definition: liblwgeom.h:447
uint32_t npoints
Definition: liblwgeom.h:374

References LW_FALSE, LW_TRUE, POINTARRAY::npoints, and LWCIRCSTRING::points.

Referenced by lwcircstring_get_lwpoint(), lwcircstring_length_2d(), lwcircstring_to_wkt_sb(), and lwgeom_is_empty().

Here is the caller graph for this function: