PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ gserialized_has_m()

int gserialized_has_m ( const GSERIALIZED gser)

Check if a GSERIALIZED has an M ordinate.

Definition at line 185 of file gserialized.c.

186 {
187  if (GFLAGS_GET_VERSION(g->gflags))
188  return gserialized2_has_m(g);
189  else
190  return gserialized1_has_m(g);
191 }
int gserialized1_has_m(const GSERIALIZED *gser)
Check if a GSERIALIZED has an M ordinate.
Definition: gserialized1.c:99
int gserialized2_has_m(const GSERIALIZED *g)
Check if a GSERIALIZED has an M ordinate.
Definition: gserialized2.c:161
#define GFLAGS_GET_VERSION(gflags)
Definition: gserialized.c:12