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

Definition at line 2792 of file lwgeodetic.c.

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

Referenced by lwgeom_force_geodetic().

2793 {
2794  int i = 0;
2795  int changed = LW_FALSE;
2796  assert(poly);
2797 
2798  for ( i = 0; i < poly->nrings; i++ )
2799  {
2800  if ( ptarray_force_geodetic(poly->rings[i]) == LW_TRUE )
2801  changed = LW_TRUE;
2802  }
2803  return changed;
2804 }
#define LW_FALSE
Definition: liblwgeom.h:76
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:75
POINTARRAY ** rings
Definition: liblwgeom.h:456
int nrings
Definition: liblwgeom.h:454
static int ptarray_force_geodetic(POINTARRAY *pa)
Definition: lwgeodetic.c:2758

Here is the call graph for this function:

Here is the caller graph for this function: