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

◆ gserialized_ndims()

int gserialized_ndims ( const GSERIALIZED g)

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

Definition at line 236 of file gserialized.c.

237{
239 return gserialized2_ndims(g);
240 else
241 return gserialized1_ndims(g);
242}
int gserialized1_ndims(const GSERIALIZED *gser)
Return the number of dimensions (2, 3, 4) in a geometry.
int gserialized2_ndims(const GSERIALIZED *g)
Return the number of dimensions (2, 3, 4) in a geometry.
#define GFLAGS_GET_VERSION(gflags)
Definition gserialized.c:41
uint8_t gflags
Definition liblwgeom.h:446

References GSERIALIZED::gflags, GFLAGS_GET_VERSION, gserialized1_ndims(), and gserialized2_ndims().

Referenced by LWGEOM_force_2d(), LWGEOM_force_3dm(), LWGEOM_force_3dz(), LWGEOM_force_4d(), and LWGEOM_ndims().

Here is the call graph for this function:
Here is the caller graph for this function: