PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ gserialized1_ndims()

int gserialized1_ndims ( const GSERIALIZED gser)

Return the number of dimensions (2, 3, 4) in a geometry.

Definition at line 104 of file gserialized1.c.

105 {
106  return G1FLAGS_NDIMS(gser->gflags);
107 }
#define G1FLAGS_NDIMS(gflags)
Definition: gserialized1.h:29
uint8_t gflags
Definition: liblwgeom.h:432

References G1FLAGS_NDIMS, and GSERIALIZED::gflags.

Referenced by gserialized_ndims().

Here is the caller graph for this function: