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

◆ g1flags()

uint8_t g1flags ( int  has_z,
int  has_m,
int  is_geodetic 
)

Definition at line 77 of file gserialized1.c.

78{
79 uint8_t gflags = 0;
80 if (has_z)
81 G1FLAGS_SET_Z(gflags, 1);
82 if (has_m)
83 G1FLAGS_SET_M(gflags, 1);
84 if (is_geodetic)
85 G1FLAGS_SET_GEODETIC(gflags, 1);
86 return gflags;
87}
#define G1FLAGS_SET_Z(gflags, value)
#define G1FLAGS_SET_M(gflags, value)
#define G1FLAGS_SET_GEODETIC(gflags, value)

References G1FLAGS_SET_GEODETIC, G1FLAGS_SET_M, and G1FLAGS_SET_Z.

Referenced by test_flags_macros().

Here is the caller graph for this function: