Searched refs:dLong (Results 1 – 1 of 1) sorted by relevance
95 double dLong = computeDLong(p1.getLongitude(), p2.getLongitude()); in mercatorSailing() local98 trueCourse = (float) Math.toDegrees(Math.atan(dLong / dmp)); in mercatorSailing()106 strCourse += " " + (dLong < 0 ? "W" : "E"); in mercatorSailing()119 double dLong = computeDLong(p1.getLongitude(), p2.getLongitude()); in planeSailing() local121 double sgnDLong = 0 - (dLong / Math.abs(dLong)); in planeSailing()122 if (Math.abs(dLong) > 180 * 60) { in planeSailing()123 dLong = (360 * 60 - Math.abs(dLong)) * sgnDLong; in planeSailing()129 redist = Math.abs(dLong); in planeSailing()131 redist = Math.abs(dLong * (float) Math.cos(p1.getLatitude() * 2 * Math.PI / 360)); in planeSailing()153 double dLong = p1.getLongitude() - p2.getLongitude(); in convertCourse() local[all …]