Home
last modified time | relevance | path

Searched refs:longitude (Results 1 – 5 of 5) sorted by relevance

/tonic/examples/src/routeguide/
H A Dclient.rs21 longitude: -750_000_000, in print_features()
25 longitude: -730_000_000, in print_features()
73 longitude: -746188906, in run_route_chat()
100 longitude: -746_188_906, in main()
119 let longitude = (rng.random_range(0..360) - 180) * 10_000_000; in random_point() localVariable
122 longitude, in random_point()
H A Ddata.rs13 longitude: i32, field
29 longitude: feature.location.longitude, in load()
H A Dserver.rs159 let left = cmp::min(lo.longitude, hi.longitude); in in_range()
160 let right = cmp::max(lo.longitude, hi.longitude); in in_range()
164 point.longitude >= left in in_range()
165 && point.longitude <= right in in_range()
178 let lng1 = p1.longitude as f64 / CORD_FACTOR; in calc_distance()
179 let lng2 = p2.longitude as f64 / CORD_FACTOR; in calc_distance()
/tonic/examples/proto/routeguide/
H A Droute_guide.proto54 // Points are represented as latitude-longitude pairs in the E7 representation
56 // Latitudes should be in the range +/- 90 degrees and longitude should be in
60 int32 longitude = 2; field
63 // A latitude-longitude rectangle, represented as two diagonally opposite
/tonic/examples/
H A Drouteguide-tutorial.md65 NOTE = RouteNote { location: Some(Point { latitude: 409146139, longitude: -746188906 }), message: "…
152 // Points are represented as latitude-longitude pairs in the E7 representation
154 // Latitudes should be in the range +/- 90 degrees and longitude should be in
158 int32 longitude = 2;
351 self.longitude.hash(state);
634 longitude: -746188906,
657 longitude: -750000000,
661 longitude: -730000000,
719 let longitude = (rng.random_range(0..360) - 180) * 10_000_000;
722 longitude,
[all …]