PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ lwpoly_force_geodetic()

static int lwpoly_force_geodetic ( LWPOLY poly)
static

Definition at line 3042 of file lwgeodetic.c.

3043 {
3044  uint32_t i = 0;
3045  int changed = LW_FALSE;
3046  assert(poly);
3047 
3048  for ( i = 0; i < poly->nrings; i++ )
3049  {
3050  if ( ptarray_force_geodetic(poly->rings[i]) == LW_TRUE )
3051  changed = LW_TRUE;
3052  }
3053  return changed;
3054 }
#define LW_FALSE
Definition: liblwgeom.h:94
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:93
static int ptarray_force_geodetic(POINTARRAY *pa)
Definition: lwgeodetic.c:3008
POINTARRAY ** rings
Definition: liblwgeom.h:519
uint32_t nrings
Definition: liblwgeom.h:524

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: