Pārlūkot izejas kodu

Vlib dgraph.c: use GRASS_EPSILON

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52523 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 gadi atpakaļ
vecāks
revīzija
f3006b1a43
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      lib/vector/Vlib/dgraph.c

+ 2 - 1
lib/vector/Vlib/dgraph.c

@@ -220,7 +220,8 @@ struct seg_intersections *find_all_intersections(const struct line_pnts *Points)
     int i, j, np;
     int group, t;
     int looped;
-    double EPSILON = 0.00000001;
+    /* double EPSILON = 0.00000001; */
+    double EPSILON = GRASS_EPSILON;
     double *x, *y;
     double x1, y1, x2, y2;
     int res;