PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lwpoint_is_empty()

int lwpoint_is_empty ( const LWPOINT point)

Definition at line 291 of file lwpoint.c.

292 {
293  if ( ! point->point || point->point->npoints < 1 )
294  return LW_TRUE;
295  return LW_FALSE;
296 }
#define LW_FALSE
Definition: liblwgeom.h:77
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:76
POINTARRAY * point
Definition: liblwgeom.h:414
uint32_t npoints
Definition: liblwgeom.h:374

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

Referenced by _lwt_AddIsoNode(), 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(), lwpoint_getPoint2d_p(), lwpoint_getPoint3dm_p(), lwpoint_getPoint3dz_p(), lwpoint_getPoint4d_p(), and lwpoint_to_wkt_sb().

Here is the caller graph for this function: