PostGIS  2.1.10dev-r@@SVN_REVISION@@
static int compare_by_envarea ( const void *  g1,
const void *  g2 
)
static

Definition at line 830 of file liblwgeom/lwgeom_geos.c.

References Face_t::envarea.

Referenced by findFaceHoles().

831 {
832  Face* f1 = *(Face**)g1;
833  Face* f2 = *(Face**)g2;
834  double n1 = f1->envarea;
835  double n2 = f2->envarea;
836 
837  if ( n1 < n2 ) return 1;
838  if ( n1 > n2 ) return -1;
839  return 0;
840 }

Here is the caller graph for this function: