PostGIS  2.1.10dev-r@@SVN_REVISION@@
int gserialized_has_z ( const GSERIALIZED gser)

Check if a GSERIALIZED has a Z ordinate.

Definition at line 25 of file g_serialized.c.

References GSERIALIZED::flags, and FLAGS_GET_Z.

Referenced by boundary(), buffer(), centroid(), convexhull(), GEOSnoop(), linemerge(), 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(), polygonize_garray(), postgis_valid_typmod(), ST_LocateBetweenElevations(), ST_UnaryUnion(), and topologypreservesimplify().

26 {
27  return FLAGS_GET_Z(gser->flags);
28 }
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
Definition: liblwgeom.h:106
uint8_t flags
Definition: liblwgeom.h:339

Here is the caller graph for this function: