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

◆ lwpoly_force_geodetic()

static int lwpoly_force_geodetic ( LWPOLY poly)
static

Definition at line 3194 of file lwgeodetic.c.

3195{
3196 uint32_t i = 0;
3197 int changed = LW_FALSE;
3198 assert(poly);
3199
3200 for ( i = 0; i < poly->nrings; i++ )
3201 {
3202 if ( ptarray_force_geodetic(poly->rings[i]) == LW_TRUE )
3203 changed = LW_TRUE;
3204 }
3205 return changed;
3206}
#define LW_FALSE
Definition liblwgeom.h:108
#define LW_TRUE
Return types for functions with status returns.
Definition liblwgeom.h:107
static int ptarray_force_geodetic(POINTARRAY *pa)
POINTARRAY ** rings
Definition liblwgeom.h:505
uint32_t nrings
Definition liblwgeom.h:510

References LW_FALSE, LW_TRUE, LWPOLY::nrings, ptarray_force_geodetic(), and LWPOLY::rings.

Referenced by lwgeom_force_geodetic().

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