PostGIS
2.4.9dev-r@@SVN_REVISION@@
◆
gidx_validate()
static void gidx_validate
(
GIDX *
b
)
inline
static
Definition at line
136
of file
gserialized_gist_nd.c
.
Referenced by
gserialized_gist_compress()
.
137
{
138
int
i;
139
Assert(b);
140
POSTGIS_DEBUGF(5,
"validating gidx (%s)"
, gidx_to_string(b));
141
for
( i = 0; i < GIDX_NDIMS(b); i++ )
142
{
143
if
( GIDX_GET_MIN(b,i) > GIDX_GET_MAX(b,i) )
144
{
145
float
tmp;
146
tmp = GIDX_GET_MIN(b,i);
147
GIDX_SET_MIN(b,i,GIDX_GET_MAX(b,i));
148
GIDX_SET_MAX(b,i,tmp);
149
}
150
}
151
return
;
152
}
Here is the caller graph for this function:
postgis
gserialized_gist_nd.c
Generated by
1.8.13