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

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

References Face_t::envarea.

Referenced by findFaceHoles().

1180 {
1181  Face* f1 = *(Face**)g1;
1182  Face* f2 = *(Face**)g2;
1183  double n1 = f1->envarea;
1184  double n2 = f2->envarea;
1185 
1186  if ( n1 < n2 ) return 1;
1187  if ( n1 > n2 ) return -1;
1188  return 0;
1189 }

Here is the caller graph for this function: