Lines Matching refs:getLongitude
141 double distance = NavCalculator.computeLongDiff(centre.getLongitude(),
142 position.getLongitude());
157 if (centre.getLongitude() == position.getLongitude()) {
183 if (centre.getLongitude() < 0 && position.getLongitude() < centre.getLongitude()) {
186 } else if (centre.getLongitude() < 0 && position.getLongitude() > centre.getLongitude()) {
189 } else if (centre.getLongitude() > 0 && position.getLongitude() < centre.getLongitude()) {
192 } else if (centre.getLongitude() > 0 && position.getLongitude() > centre.getLongitude()) {
195 } else if (centre.getLongitude() == 0 && position.getLongitude() > centre.getLongitude()) {
198 } else if (centre.getLongitude() == 0 && position.getLongitude() < centre.getLongitude()) {
235 lon = (p.getX() < xCentre ? centre.getLongitude() - lonDistanceInDegrees
236 : centre.getLongitude() + lonDistanceInDegrees);