PostGIS  3.4.0dev-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 106 of file gserialized1.c.

107 {
108  return G1FLAGS_NDIMS(gser->gflags);
109 }
#define G1FLAGS_NDIMS(gflags)
Definition: gserialized1.h:29
uint8_t gflags
Definition: liblwgeom.h:446

References G1FLAGS_NDIMS, and GSERIALIZED::gflags.

Referenced by gserialized_ndims().

Here is the caller graph for this function: