PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ lwcircstring_is_empty()

int lwcircstring_is_empty ( const LWCIRCSTRING circ)

Definition at line 263 of file lwcircstring.c.

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().

264 {
265  if ( !circ->points || circ->points->npoints < 1 )
266  return LW_TRUE;
267  return LW_FALSE;
268 }
int npoints
Definition: liblwgeom.h:355
#define LW_FALSE
Definition: liblwgeom.h:62
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:61
Definition: liblwgeom.h:428
Here is the caller graph for this function: