PostGIS  2.1.10dev-r@@SVN_REVISION@@
int lwpoint_is_empty ( const LWPOINT point)

Definition at line 258 of file lwpoint.c.

References LW_FALSE, LW_TRUE, POINTARRAY::npoints, and LWPOINT::point.

Referenced by asgeojson_point_buf(), asgeojson_point_size(), asgml2_point_buf(), asgml3_point_buf(), lwgeom_interpolate_point(), lwgeom_is_empty(), lwline_from_ptarray(), lwpoint_force_dims(), lwpoint_get_m(), lwpoint_get_x(), lwpoint_get_y(), lwpoint_get_z(), and lwpoint_to_wkt_sb().

259 {
260  if ( ! point->point || point->point->npoints < 1 )
261  return LW_TRUE;
262  return LW_FALSE;
263 }
int npoints
Definition: liblwgeom.h:327
Definition: liblwgeom.h:367
#define LW_FALSE
Definition: liblwgeom.h:52
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:51

Here is the caller graph for this function: