PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ lwcircstring_is_empty()

int lwcircstring_is_empty ( const LWCIRCSTRING circ)

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

277 {
278  if ( !circ->points || circ->points->npoints < 1 )
279  return LW_TRUE;
280  return LW_FALSE;
281 }
int npoints
Definition: liblwgeom.h:371
#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:444
Here is the caller graph for this function: