PostGIS  2.5.0dev-r@@SVN_REVISION@@

◆ lwcircstring_is_empty()

int lwcircstring_is_empty ( const LWCIRCSTRING circ)

Definition at line 269 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().

270 {
271  if ( !circ->points || circ->points->npoints < 1 )
272  return LW_TRUE;
273  return LW_FALSE;
274 }
#define LW_FALSE
Definition: liblwgeom.h:76
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:75
Definition: liblwgeom.h:446
uint32_t npoints
Definition: liblwgeom.h:373
Here is the caller graph for this function: