- Timestamp:
- 08/13/12 17:31:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RoutePlanning/HeuristicLab.Problems.RoutePlanning/3.3/Osm/Utils.cs
r8462 r8479 7 7 double dx = p2.X - p1.X; 8 8 double dy = p2.Y - p1.Y; 9 return Math.Sqrt(dx * dx + dy * dy); 10 } 11 12 public static double Distance(double startX, double startY, double endX, double endY) { 13 double dx = endX - startX; 14 double dy = endY - startY; 9 15 return Math.Sqrt(dx * dx + dy * dy); 10 16 }
Note: See TracChangeset
for help on using the changeset viewer.