PostGIS
3.4.0dev-r@@SVN_REVISION@@
|
int gserialized_is_empty | ( | const GSERIALIZED * | g | ) |
Check if a GSERIALIZED is empty without deserializing first.
Only checks if the number of elements of the parent geometry is zero, will not catch collections of empty, eg: GEOMETRYCOLLECTION(POINT EMPTY)
Definition at line 152 of file gserialized.c.
References GSERIALIZED::gflags, GFLAGS_GET_VERSION, gserialized1_is_empty(), and gserialized2_is_empty().
Referenced by buffer(), contains(), containsproperly(), convexhull(), coverage_read_partition_into_collection(), coveredby(), covers(), crosses(), disjoint(), geography_bestsrid(), geography_centroid(), geography_distance(), geography_distance_tree(), geography_dwithin(), geography_line_interpolate_point(), geography_line_locate_point(), geography_line_substring(), geography_segmentize(), hausdorffdistance(), hausdorffdistancedensify(), is_gserialized_from_datum_empty(), isring(), issimple(), isvalid(), LWGEOM_angle(), LWGEOM_geometryn_collection(), LWGEOM_isempty(), LWGEOM_snaptogrid(), LWGEOM_snaptogrid_pointoff(), overlaps(), pgis_union_geometry_array(), postgis_valid_typmod(), RASTER_getGeometryValues(), RASTER_getPixelValueResample(), RASTER_InterpolateRaster(), ST_CoverageUnion(), ST_DistanceRectTree(), ST_DistanceRectTreeCached(), ST_Equals(), ST_FrechetDistance(), ST_Intersects(), ST_LargestEmptyCircle(), ST_MaximumInscribedCircle(), ST_MinimumBoundingCircle(), ST_MinimumBoundingRadius(), and touches().