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

◆ gserialized2_ndims()

int gserialized2_ndims ( const GSERIALIZED g)

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

Definition at line 168 of file gserialized2.c.

169{
170 return G2FLAGS_NDIMS(g->gflags);
171}
#define G2FLAGS_NDIMS(gflags)
uint8_t gflags
Definition liblwgeom.h:446

References G2FLAGS_NDIMS, and GSERIALIZED::gflags.

Referenced by gserialized_ndims().

Here is the caller graph for this function: