Home | History | Annotate | Download | only in navigation

Lines Matching refs:distance

139         // Get the distance between position and the centre for calculating
141 double distance = NavCalculator.computeLongDiff(centre.getLongitude(),
144 // Use the distance from the centre to calculate the pixel x co-ordinate
145 double distanceInPixels = (distance / minutesPerPixel);
220 // Get the distance between position and the centre
221 double xDistance = distance(xCentre, p.getX());
222 double yDistance = distance(pixelCentre.getY(), p.getY());
252 * Calculates distance between two points on the map in pixels
255 * @return distance the distance between a and b in pixels
258 private double distance(double a, double b) {