PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ gserialized_has_z()

int gserialized_has_z ( const GSERIALIZED gser)

Check if a GSERIALIZED has a Z ordinate.

Definition at line 45 of file g_serialized.c.

46 {
47  return FLAGS_GET_Z(gser->flags);
48 }
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
Definition: liblwgeom.h:140
uint8_t flags
Definition: liblwgeom.h:386

References GSERIALIZED::flags, and FLAGS_GET_Z.

Referenced by ARRAY2GEOS(), ARRAY2LWGEOM(), boundary(), buffer(), convexhull(), GEOSnoop(), LWGEOM_force_3dz(), LWGEOM_getTYPE(), LWGEOM_hasz(), LWGEOM_locate_between_m(), LWGEOM_z_point(), LWGEOM_zmflag(), pgis_union_geometry_array(), postgis_valid_typmod(), ST_LocateBetweenElevations(), ST_SwapOrdinates(), and topologypreservesimplify().

Here is the caller graph for this function: