PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ gserialized_has_m()

int gserialized_has_m ( const GSERIALIZED gser)

Check if a GSERIALIZED has an M ordinate.

Definition at line 50 of file g_serialized.c.

References GSERIALIZED::flags, and FLAGS_GET_M.

Referenced by centroid(), LWGEOM_force_3dm(), LWGEOM_getTYPE(), LWGEOM_hasm(), LWGEOM_line_interpolate_point(), LWGEOM_locate_between_m(), LWGEOM_zmflag(), pointonsurface(), postgis_valid_typmod(), ST_InterpolatePoint(), ST_LocateBetween(), and ST_SwapOrdinates().

51 {
52  return FLAGS_GET_M(gser->flags);
53 }
#define FLAGS_GET_M(flags)
Definition: liblwgeom.h:141
uint8_t flags
Definition: liblwgeom.h:383
Here is the caller graph for this function: