PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ gserialized_has_z()

int gserialized_has_z ( const GSERIALIZED gser)

Check if a GSERIALIZED has a Z ordinate.

Definition at line 24 of file g_serialized.c.

References GSERIALIZED::flags, and FLAGS_GET_Z.

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

25 {
26  return FLAGS_GET_Z(gser->flags);
27 }
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
Definition: liblwgeom.h:124
uint8_t flags
Definition: liblwgeom.h:367
Here is the caller graph for this function: