PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ 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)
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: