PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ lwpoly_check_geodetic()

static int lwpoly_check_geodetic ( const LWPOLY poly)
static

Definition at line 2946 of file lwgeodetic.c.

2947 {
2948  uint32_t i = 0;
2949  assert(poly);
2950 
2951  for ( i = 0; i < poly->nrings; i++ )
2952  {
2953  if ( ptarray_check_geodetic(poly->rings[i]) == LW_FALSE )
2954  return LW_FALSE;
2955  }
2956  return LW_TRUE;
2957 }
#define LW_FALSE
Definition: liblwgeom.h:94
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:93
static int ptarray_check_geodetic(const POINTARRAY *pa)
Definition: lwgeodetic.c:2916
POINTARRAY ** rings
Definition: liblwgeom.h:519
uint32_t nrings
Definition: liblwgeom.h:524

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: