Skip to content
Snippets Groups Projects
Commit cc1c0a6f authored by brutzman's avatar brutzman
Browse files

simpler expression

parent 71aec634
No related branches found
No related tags found
No related merge requests found
......@@ -217,7 +217,7 @@ public class EspduSender
// The x and y values will change, but the z value should not.
//lon = lon + (double)((double)idx / 100000.0);
//System.out.println("lla=" + lat + "," + lon + ", 0.0");
double direction = Math.pow(-1.0, (index));
double direction = Math.pow(-1.0, index);
longitude = longitude + (direction * 0.00006);
double disCoordinates[] = CoordinateConversions.getXYZfromLatLonDegrees(latitude, longitude, 1.0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment