PostGIS  2.2.7dev-r@@SVN_REVISION@@
static int lwpoly_check_geodetic ( const LWPOLY poly)
static

Definition at line 2685 of file lwgeodetic.c.

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

Referenced by lwgeom_check_geodetic().

2686 {
2687  int i = 0;
2688  assert(poly);
2689 
2690  for ( i = 0; i < poly->nrings; i++ )
2691  {
2692  if ( ptarray_check_geodetic(poly->rings[i]) == LW_FALSE )
2693  return LW_FALSE;
2694  }
2695  return LW_TRUE;
2696 }
#define LW_FALSE
Definition: liblwgeom.h:62
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:61
POINTARRAY ** rings
Definition: liblwgeom.h:441
int nrings
Definition: liblwgeom.h:439
static int ptarray_check_geodetic(const POINTARRAY *pa)
Definition: lwgeodetic.c:2655

Here is the call graph for this function:

Here is the caller graph for this function: