PostGIS  2.1.10dev-r@@SVN_REVISION@@
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:327
#define LW_FALSE
Definition: liblwgeom.h:52
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:51
POINTARRAY * points
Definition: liblwgeom.h:400

Here is the caller graph for this function: