"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "saga-gis/src/tools/grid/grid_gridding/nn/delaunay.c" between
saga-7.6.2_src.zip and saga-7.6.3_src.zip

About: SAGA (System for Automated Geoscientific Analyses) is a Geographic Information System (GIS) software for geodata processing and analysis. All source codes.

delaunay.c  (saga-7.6.2_src):delaunay.c  (saga-7.6.3_src)
skipping to change at line 326 skipping to change at line 326
tio_destroy(&tio_in); tio_destroy(&tio_in);
tio_destroy(&tio_out); tio_destroy(&tio_out);
return d; return d;
} }
//--------------------------------------------------------- //---------------------------------------------------------
#else /* USE_QHULL */ #else /* USE_QHULL */
#include <qhull/qhull_a.h> #ifdef HAVE_LIBQHULL_QHULL_A_H
#include <libqhull/qhull_a.h>
#else
#ifdef HAVE_QHULL_QHULL_A_H
#include <qhull/qhull_a.h>
#else
#error Failed to include qhull_a.h. Is Qhull installed?
#endif
#endif
/* returns 1 if a,b,c are clockwise ordered */ /* returns 1 if a,b,c are clockwise ordered */
static int cw(delaunay *d, triangle *t) static int cw(delaunay *d, triangle *t)
{ {
point* pa = &d->points[t->vids[0]]; point* pa = &d->points[t->vids[0]];
point* pb = &d->points[t->vids[1]]; point* pb = &d->points[t->vids[1]];
point* pc = &d->points[t->vids[2]]; point* pc = &d->points[t->vids[2]];
return ((pb->x - pa->x)*(pc->y - pa->y) < (pc->x - pa->x)*(pb->y - pa->y)); return ((pb->x - pa->x)*(pc->y - pa->y) < (pc->x - pa->x)*(pb->y - pa->y));
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)