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

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

References Face_t::envarea.

Referenced by findFaceHoles().

1156 {
1157  Face* f1 = *(Face**)g1;
1158  Face* f2 = *(Face**)g2;
1159  double n1 = f1->envarea;
1160  double n2 = f2->envarea;
1161 
1162  if ( n1 < n2 ) return 1;
1163  if ( n1 > n2 ) return -1;
1164  return 0;
1165 }

Here is the caller graph for this function: