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

Definition at line 2682 of file lwgeodetic.c.

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

Referenced by lwgeom_check_geodetic().

2683 {
2684  int i = 0;
2685  assert(poly);
2686 
2687  for ( i = 0; i < poly->nrings; i++ )
2688  {
2689  if ( ptarray_check_geodetic(poly->rings[i]) == LW_FALSE )
2690  return LW_FALSE;
2691  }
2692  return LW_TRUE;
2693 }
#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_check_geodetic(const POINTARRAY *pa)
Definition: lwgeodetic.c:2652

Here is the call graph for this function:

Here is the caller graph for this function: