PostGIS  2.1.10dev-r@@SVN_REVISION@@
static int lwpoly_force_geodetic ( LWPOLY poly)
static

Definition at line 2778 of file lwgeodetic.c.

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

Referenced by lwgeom_force_geodetic().

2779 {
2780  int i = 0;
2781  int changed = LW_FALSE;
2782  assert(poly);
2783 
2784  for ( i = 0; i < poly->nrings; i++ )
2785  {
2786  if ( ptarray_force_geodetic(poly->rings[i]) == LW_TRUE )
2787  changed = LW_TRUE;
2788  }
2789  return changed;
2790 }
#define LW_FALSE
Definition: liblwgeom.h:52
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:51
POINTARRAY ** rings
Definition: liblwgeom.h:413
int nrings
Definition: liblwgeom.h:411
static int ptarray_force_geodetic(POINTARRAY *pa)
Definition: lwgeodetic.c:2744

Here is the call graph for this function:

Here is the caller graph for this function: