Home | History | Annotate | Download | only in navigation

Lines Matching refs:getLatitude

88         double dLat = computeDLat(p1.getLatitude(), p2.getLatitude());
96 double dmp = (float) computeDMPClarkeSpheroid(p1.getLatitude(), p2.getLatitude());
128 if (p1.getLatitude() == 0) {
131 redist = Math.abs(dLong * (float) Math.cos(p1.getLatitude() * 2 * Math.PI / 360));
152 double dLat = p1.getLatitude() - p2.getLatitude();
318 double initialLat = initialPos.getLatitude();
536 double y = Math.sin(dLon) * Math.cos(p2.getLatitude());
537 double x = Math.cos(p1.getLatitude()) * Math.sin(p2.getLatitude())
538 - Math.sin(p1.getLatitude()) * Math.cos(p2.getLatitude()) * Math.cos(dLon);
553 double opp = Math.abs(p1.getLatitude() - p2.getLatitude());
556 // int angle = (int)Math.atan2(p2.getLatitude() - p1.getLatitude(),
564 if (p2.getLongitude() >= p1.getLongitude() && p2.getLatitude() >= p1.getLatitude()) {
566 } else if (p2.getLongitude() >= p1.getLongitude() && p2.getLatitude() <= p1.getLatitude()) {
569 } else if (p2.getLongitude() <= p1.getLongitude() && p2.getLatitude() <= p1.getLatitude()) {
581 // System.out.println(pos.getLatitude() + "," + pos.getLongitude());