PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
int lwgeom_is_empty | ( | const LWGEOM * | geom | ) |
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members)
Definition at line 1346 of file lwgeom.c.
References CIRCSTRINGTYPE, COLLECTIONTYPE, COMPOUNDTYPE, CURVEPOLYTYPE, LINETYPE, LW_FALSE, lwcircstring_is_empty(), lwcollection_is_empty(), LWDEBUGF, lwerror(), lwline_is_empty(), lwpoint_is_empty(), lwpoly_is_empty(), lwtriangle_is_empty(), lwtype_name(), MULTICURVETYPE, MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, MULTISURFACETYPE, POINTTYPE, POLYGONTYPE, POLYHEDRALSURFACETYPE, TINTYPE, TRIANGLETYPE, LWGEOM::type, and LWCOLLECTION::type.
Referenced by add_lwgeom_to_stack(), cu_wkb_empty_point_check(), do_median_test(), geography_area(), geography_azimuth(), geography_covers(), geography_distance_knn(), geography_distance_uncached(), geography_dwithin_uncached(), geography_length(), geography_perimeter(), geography_project(), geometry_to_path(), geometry_to_point(), geometry_to_polygon(), geos_envelope_surrogate(), gserialized_from_lwgeom(), lw_dist2d_recursive(), lw_dist3d_recursive(), lwcollection_build_buffer(), lwcollection_extract(), lwcollection_is_empty(), lwcompound_add_lwgeom(), lwcompound_get_lwpoint(), lwcompound_length_2d(), lwcurvepoly_area(), LWGEOM2GEOS(), LWGEOM2SFCGAL(), lwgeom_add_bbox(), lwgeom_add_bbox_deep(), lwgeom_area_sphere(), lwgeom_area_spheroid(), lwgeom_as_multi(), lwgeom_buildarea(), lwgeom_calculate_circ_tree(), lwgeom_calculate_mbc(), lwgeom_centroid(), lwgeom_check_geodetic(), lwgeom_clip_by_rect(), lwgeom_clip_to_ordinate_range(), LWGEOM_closestpoint(), LWGEOM_closestpoint3d(), lwgeom_cluster_2d_kmeans(), lwgeom_count_rings(), lwgeom_count_vertices(), lwgeom_difference(), lwgeom_distance_spheroid(), LWGEOM_dump(), LWGEOM_dumppoints(), LWGEOM_envelope(), LWGEOM_expand(), LWGEOM_exteriorring_polygon(), lwgeom_homogenize(), LWGEOM_inside_circle_point(), LWGEOM_interiorringn_polygon(), lwgeom_interpolate_point(), lwgeom_intersection(), lwgeom_is_closed(), lwgeom_is_simple(), LWGEOM_isempty(), LWGEOM_length_ellipsoid_linestring(), lwgeom_length_spheroid(), LWGEOM_line_substring(), lwgeom_linemerge(), LWGEOM_longestline2d(), LWGEOM_longestline3d(), LWGEOM_m_point(), lwgeom_nudge_geodetic(), LWGEOM_numgeometries_collection(), LWGEOM_numinteriorrings_polygon(), lwgeom_remove_repeated_points(), LWGEOM_segmentize2d(), lwgeom_segmentize_sphere(), LWGEOM_shortestline2d(), LWGEOM_shortestline3d(), lwgeom_subdivide(), lwgeom_swap_ordinates(), lwgeom_symdifference(), LWGEOM_to_BOX2D(), lwgeom_to_gml2(), lwgeom_to_gml3(), lwgeom_to_kml2(), lwgeom_to_svg(), lwgeom_to_wkb_buf(), lwgeom_to_wkb_size(), lwgeom_to_x3d3(), lwgeom_transform(), lwgeom_unaryunion(), lwgeom_union(), lwgeom_wrapx(), lwgeom_write_to_buffer(), LWGEOM_x_point(), LWGEOM_y_point(), LWGEOM_z_point(), lwline_from_lwgeom_array(), lwline_from_lwmpoint(), lwline_to_wkb_buf(), lwline_to_wkb_size(), lwmline_locate_along(), lwmline_measured_from_lwmline(), lwmpoint_extract_points_3d(), lwmpoly_to_points(), lwmulti_to_twkb_buf(), lwpoint_to_latlon(), lwpoint_to_wkb_buf(), lwpoint_to_wkb_size(), lwpoly_covers_lwline(), lwpoly_covers_lwpoly(), lwpoly_covers_point2d(), lwpoly_pt_outside_hack(), lwpoly_to_points(), lwpoly_to_wkb_buf(), lwpoly_to_wkb_size(), lwt_GetEdgeByPoint(), lwt_GetFaceEdges(), lwtriangle_to_wkb_buf(), lwtriangle_to_wkb_size(), mvt_geom(), RASTER_asRaster(), RASTER_clip(), RASTER_nearestValue(), RASTER_setPixelValuesGeomval(), ShpLoaderGenerateShapeRow(), ST_CleanGeometry(), ST_CollectionExtract(), ST_OffsetCurve(), test_lwgeom_clip_by_rect(), test_lwgeom_is_empty(), union_dbscan_general(), union_dbscan_minpoints_1(), wkt_parser_collection_finalize(), and wkt_parser_compound_new().