PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ gserialized_has_z()

int gserialized_has_z ( const GSERIALIZED gser)

Check if a GSERIALIZED has a Z ordinate.

Definition at line 174 of file gserialized.c.

175 {
176  if (GFLAGS_GET_VERSION(g->gflags))
177  return gserialized2_has_z(g);
178  else
179  return gserialized1_has_z(g);
180 }
int gserialized1_has_z(const GSERIALIZED *gser)
Check if a GSERIALIZED has a Z ordinate.
Definition: gserialized1.c:94
int gserialized2_has_z(const GSERIALIZED *g)
Check if a GSERIALIZED has a Z ordinate.
Definition: gserialized2.c:156
#define GFLAGS_GET_VERSION(gflags)
Definition: gserialized.c:12