PostGIS  3.2.2dev-r@@SVN_REVISION@@

◆ lwpoly_check_geodetic()

static int lwpoly_check_geodetic ( const LWPOLY poly)
static

Definition at line 3072 of file lwgeodetic.c.

3073 {
3074  uint32_t i = 0;
3075  assert(poly);
3076 
3077  for ( i = 0; i < poly->nrings; i++ )
3078  {
3079  if ( ptarray_check_geodetic(poly->rings[i]) == LW_FALSE )
3080  return LW_FALSE;
3081  }
3082  return LW_TRUE;
3083 }
#define LW_FALSE
Definition: liblwgeom.h:108
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:107
static int ptarray_check_geodetic(const POINTARRAY *pa)
Definition: lwgeodetic.c:3042
POINTARRAY ** rings
Definition: liblwgeom.h:533
uint32_t nrings
Definition: liblwgeom.h:538

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

Referenced by lwgeom_check_geodetic().

Here is the call graph for this function:
Here is the caller graph for this function: