Jelajahi Sumber

v.kernel: Vect_net update for https://trac.osgeo.org/grass/changeset/59562

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@59563 15284696-431f-4ddb-bdfa-cd5b030d7da7
Štěpán Turek 11 tahun lalu
induk
melakukan
e06753b7a6
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      vector/v.kernel/main.c

+ 3 - 3
vector/v.kernel/main.c

@@ -711,7 +711,7 @@ double compute_all_net_distances(struct Map_info *In, struct Map_info *Net,
 		Vect_net_shortest_path_coor(Net, APoints->x[0], APoints->y[0],
 					    0.0, BPoints->x[0], BPoints->y[0],
 					    0.0, netmax, netmax, &dist, NULL,
-					    NULL, NULL, NULL, NULL, NULL);
+					    NULL, NULL, NULL, NULL, NULL, NULL);
 
 	    G_debug(3, "  SP: %f %f -> %f %f", APoints->x[0], APoints->y[0],
 		    BPoints->x[0], BPoints->y[0]);
@@ -796,9 +796,9 @@ void compute_net_distance(double x, double y, struct Map_info *In,
 	G_debug(3, "  SP: %f %f -> %f %f", x, y, PointsList->box[i].E, PointsList->box[i].N);
 	/*ret = Vect_net_shortest_path_coor(Net, x, y, 0.0, Points->x[0], */
 	/*Points->y[0], 0.0, netmax, netmax, */
-	/*&dist, NULL, NULL, NULL, NULL, NULL, */
+	/*&dist, NULL, NULL, NULL, NULL, NULL, NULL, */
 	/*NULL); */
-	ret = Vect_net_shortest_path_coor2(Net,
+	ret = Vect_net_shortest_path_coor(Net,
 					   PointsList->box[i].E,
 					   PointsList->box[i].N, 0.0,
 					   x, y, 0.0, netmax, 1.0,